VYPR
Moderate severityNVD Advisory· Published Jan 16, 2024· Updated Jun 5, 2025

CVE-2024-22491

CVE-2024-22491

Description

A Stored Cross Site Scripting (XSS) vulnerability in beetl-bbs 2.0 allows attackers to run arbitrary code via the post/save content parameter.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Beetl BBS 2.0 is vulnerable to stored XSS via the post/save content parameter, allowing attackers to execute arbitrary script in victim browsers.

Vulnerability

Description Beetl BBS 2.0 contains a stored cross-site scripting (XSS) vulnerability in its post creation functionality. The post/save endpoint does not properly encode or filter the content parameter, allowing attackers to inject arbitrary web script or HTML [1][2]. While the jQuery serialize method provides some client-side encoding, it is insufficient to prevent server-side injection [2].

Attack

Vector and Exploitation An attacker can exploit this vulnerability by submitting a specially crafted payload in the content field when creating a new post or replying under an existing topic. The proof-of-concept payload `` demonstrates that injected JavaScript is stored and executed when other users view the affected post [2]. No authentication beyond normal forum access is required to submit posts, making the attack surface broad.

Impact and

Risks Successful exploitation leads to stored XSS, enabling an attacker to run arbitrary JavaScript in the context of any authenticated user viewing the malicious post. This can result in cookie theft, session hijacking, or defacement. Notably, the application's login cookie contains an MD5 hash of the user's password; if this cookie is leaked via XSS and the AES encryption key is unchanged, an attacker could attempt to crack the password hash offline [2].

Mitigation

Status As of the advisory, beetl-bbs v2.0 is affected, and the vendor has not released a patched version. Mitigation requires server-side input validation and output encoding for the content parameter, ensuring that user-supplied data is not interpreted as executable HTML or JavaScript [1][2]. No workaround or official fix is documented.

AI Insight generated on May 20, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
com.ibeetl:beetlMaven
<= 2.0.0

Affected products

3

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

3

News mentions

0

No linked articles in our index yet.