CVE-2012-2698 json
Cross-site scripting (XSS) vulnerability in the outputPage function in includes/SkinTemplate.php in MediaWiki before 1.17.5, 1.18.x before…
published 2012-06-29 14 y ago modified 2026-06-16 4 mo ago also EUVD-2012-2678
- cvss
- 4.3
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 4.9%
- EPSS 4.9% chance of exploitation in 30 days, percentile 92%
- public exploits
- 1
- Exploit-DB
Summary
Cross-site scripting (XSS) vulnerability in the outputPage function in includes/SkinTemplate.php in MediaWiki before 1.17.5, 1.18.x before 1.18.4, and 1.19.x before 1.19.1 allows remote attackers to inject arbitrary web script or HTML via the uselang parameter to index.php/Main_page.
Patch / fix
- mediawiki Debian 14, Debian 13, Debian 12 1:1.19.1-1
debian advisories DEBIAN-CVE-2012-2698
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2012-2698 updated cvss 4.3
mediawiki: XSS flaw in the uselang http parameter
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Timeline
- First public exploit (EDB-37404)
- Published
Exploit prediction
4.89% chance of exploitation in the next 30 days, higher than 92% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- EDB-37404 MediaWiki 1.x - 'uselang' Cross-Site Scripting webapps, 2012-06-17
- gerrit.wikimedia.org https://gerrit.wikimedia.org/r/#/c/7979/1/includes/SkinTemplate.php referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
gerrit.wikimedia.org
/r/#/c/7979/1/includes/SkinTemplate.php
exploit, patch
-
secunia.com
/advisories/49484
third-party-advisory, vendor-advisory
-
lists.wikimedia.org
/pipermail/mediawiki-announce/2012-June/000118.html
mailing-list, vendor-advisory
-
lists.wikimedia.org
/pipermail/mediawiki-announce/2012-June/000116.html
mailing-list
- mediawiki.org /wiki/Release_notes/1.18
-
osvdb.org
/82983
vdb-entry
-
lists.wikimedia.org
/pipermail/mediawiki-announce/2012-June/000117.html
mailing-list
- bugzilla.wikimedia.org /show_bug.cgi?id=36938
-
securitytracker.com
/id?1027179
vdb-entry
- mediawiki.org /wiki/Release_notes/1.19
-
exchange.xforce.ibmcloud.com
/vulnerabilities/76311
vdb-entry
- mediawiki.org /wiki/Release_notes/1.17
-
openwall.com
/lists/oss-security/2012/06/14/2
mailing-list
Sources
- CVE List CVE-2012-2698
- NVD CVE-2012-2698
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.