CVE-2012-2698
Description
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.
Severity
not scored
CVSS v3
not scored
Exploit chance (EPSS)
4.889%
chance of exploitation in the next 30 days
higher than 92.2% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 0
Exploit-DB: 1
Weakness
- CWE-79: Improper Neutralization of Input During Web Page Generation
Timeline
- 2012-06-17First Exploit-DB entry (EDB-ID 37404)12 days before publication
- 2012-06-29Published by the CNA19:00 UTC
Exploit and advisory records
| Exploit-DB | Type | Platform | Published | EDB-verified |
|---|---|---|---|---|
| EDB-ID 37404 | webapps | php | 2012-06-17 | yes |
Affected products
| Vendor | Product |
|---|---|
| mediawiki | mediawiki |
References
- https://gerrit.wikimedia.org/r/#/c/7979/1/includes/SkinTemplate.php
- http://lists.wikimedia.org/pipermail/mediawiki-announce/2012-June/000118.html
- http://secunia.com/advisories/49484
- http://lists.wikimedia.org/pipermail/mediawiki-announce/2012-June/000116.html
- http://lists.wikimedia.org/pipermail/mediawiki-announce/2012-June/000117.html
- http://securitytracker.com/id?1027179
- http://www.openwall.com/lists/oss-security/2012/06/14/2
- http://www.osvdb.org/82983
- https://bugzilla.wikimedia.org/show_bug.cgi?id=36938
- https://exchange.xforce.ibmcloud.com/vulnerabilities/76311
- https://www.mediawiki.org/wiki/Release_notes/1.17
- https://www.mediawiki.org/wiki/Release_notes/1.18
- https://www.mediawiki.org/wiki/Release_notes/1.19
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2012-2698'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2012-2698'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2012-2698'curl 'https://api.contrastcyber.com/cve_products/CVE-2012-2698'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).