VYPR
Unrated severityNVD Advisory· Published Dec 31, 2004· Updated Apr 16, 2026

CVE-2004-2152

CVE-2004-2152

Description

Cross-site scripting (XSS) vulnerability in MediaWiki 1.3.4 and earlier via the 'raw' page output mode allows remote attackers to inject arbitrary web script or HTML.

AI Insight

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

Cross-site scripting (XSS) vulnerability in MediaWiki 1.3.4 and earlier via the 'raw' page output mode allows remote attackers to inject arbitrary web script or HTML.

Vulnerability

The vulnerability is a cross-site scripting (XSS) flaw in the 'raw' page output mode of MediaWiki versions 1.3.4 and earlier. When a page is requested in raw mode, user-supplied input is not properly sanitized, allowing injection of arbitrary web script or HTML. [1]

Exploitation

An attacker can exploit this by crafting a malicious URL that triggers the raw output mode and includes injected script. No authentication is required; the attacker only needs to convince a victim to visit the crafted link. [1]

Impact

Successful exploitation allows the attacker to execute arbitrary JavaScript in the context of the victim's browser, potentially leading to session hijacking, defacement, or theft of sensitive information. [1]

Mitigation

The vulnerability is fixed in MediaWiki 1.3.5 and later. Users should upgrade to the latest version. No workaround is mentioned in the available references. [2]

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

Affected products

14
  • MediaWiki/Mediawiki14 versions
    cpe:2.3:a:mediawiki:mediawiki:1.1.0:*:*:*:*:*:*:*+ 13 more
    • cpe:2.3:a:mediawiki:mediawiki:1.1.0:*:*:*:*:*:*:*
    • cpe:2.3:a:mediawiki:mediawiki:1.2.0:*:*:*:*:*:*:*
    • cpe:2.3:a:mediawiki:mediawiki:1.2.1:*:*:*:*:*:*:*
    • cpe:2.3:a:mediawiki:mediawiki:1.2.2:*:*:*:*:*:*:*
    • cpe:2.3:a:mediawiki:mediawiki:1.2.3:*:*:*:*:*:*:*
    • cpe:2.3:a:mediawiki:mediawiki:1.2.4:*:*:*:*:*:*:*
    • cpe:2.3:a:mediawiki:mediawiki:1.2.5:*:*:*:*:*:*:*
    • cpe:2.3:a:mediawiki:mediawiki:1.2.6:*:*:*:*:*:*:*
    • cpe:2.3:a:mediawiki:mediawiki:1.3.0:*:*:*:*:*:*:*
    • cpe:2.3:a:mediawiki:mediawiki:1.3.1:*:*:*:*:*:*:*
    • cpe:2.3:a:mediawiki:mediawiki:1.3.2:*:*:*:*:*:*:*
    • cpe:2.3:a:mediawiki:mediawiki:1.3.3:*:*:*:*:*:*:*
    • cpe:2.3:a:mediawiki:mediawiki:1.3.4:*:*:*:*:*:*:*
    • (no CPE)range: <=1.3.4

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

5

News mentions

0

No linked articles in our index yet.