CVE-2006-0155
Description
Cross-site scripting (XSS) vulnerability in posts.php in 427BB 2.2 and 2.2.1 allows remote attackers to inject arbitrary Javascript via a new message with a url bbcode tag containing a javascript URI.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Patches
Vulnerability mechanics
Root cause
"Missing input sanitization in the URL bbcode tag handler allows injection of arbitrary JavaScript URIs."
Attack vector
An attacker posts a new message in posts.php containing a [url] bbcode tag with a javascript: URI as the link target, e.g. [url=javascript:alert(xss)]clickme[/url] [ref_id=1]. When another visitor clicks the rendered link, the attacker's JavaScript executes in the context of the victim's browser. No authentication is required to post the malicious message, and the only precondition is that a victim user clicks the crafted link.
Affected code
The vulnerable code is in posts.php, which handles message posting and bbcode rendering [ref_id=1]. The advisory does not specify the exact function or line, but the defect is in the bbcode parser's handling of the [url] tag — it fails to validate or sanitize the URL scheme before inserting it into an HTML anchor element.
What the fix does
No patch is available for this vulnerability [ref_id=1]. The advisory states that the vendor should sanitize the URL parameter in the bbcode tag handler to reject or properly encode javascript: URIs and other non-HTTP schemes. As of the advisory's publication date, the vendor had not released an update [ref_id=1].
Preconditions
- authAttacker must be able to post a new message on the forum (may require registration depending on forum configuration).
- inputA victim user must click the crafted link in the posted message.
Reproduction
1. Log in to the 427BB forum (registration may be required). 2. Navigate to the "New Message" or "Post Reply" page (posts.php). 3. Enter the following as the message body: [url=javascript:alert(xss)]clickme[/url] [ref_id=1]. 4. Submit the message. 5. Any user who clicks the "clickme" link in the rendered post will trigger the JavaScript alert.
Generated on Jun 17, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
6News mentions
0No linked articles in our index yet.