SecurityContext

CVE-2012-2698: MediaWiki - Reflected XSS

  • Cve: CVE-2012-2698
  • Name: MediaWiki - Reflected XSS
  • 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.
  • Impact: Attackers can execute arbitrary scripts in the context of the victim's browser, leading to session hijacking or defacement.
  • Remediation: Update to MediaWiki 1.17.5, 1.18.4, or 1.19.1 or later versions.
  • Vulnerability type: reflected_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: user_interaction
  • Requirements: Attacker needs victim to visit malicious URL
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 4.3
  • Cvss vector: CVSS:2.0/AV:N/AC:M/Au:N/C:N/I:P/A:N
  • Epss score: 0.04889
  • Epss percentile: 0.92295
  • Assignee: [email protected]
  • Published at: 2012-06-29T19:55:05Z
  • Age in days: 5261
  • Modified at: 2026-06-16T23:41:54Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 13
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2012-2698
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-79Improper Neutralization of Input During Web Page Generation

Public exploits

UrlSourceAdded date
https://gerrit.wikimedia.org/r/#/c/7979/1/includes/SkinTemplate.phpnvd2012-06-29

References

Same in every row:

  • Source: nvd
UrlTags
https://gerrit.wikimedia.org/r/#/c/7979/1/includes/SkinTemplate.phpExploit, Patch
http://lists.wikimedia.org/pipermail/mediawiki-announce/2012-June/000118.htmlVendor Advisory
http://secunia.com/advisories/49484Vendor Advisory
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

Products

ProductAffectedPlatform boundSourcesUrl
mediawiki:mediawiki= 1.4 beta6, = 1.4 beta5, = 1.4 beta4, = 1.5 beta4, = 1.5 rc4, = 1.16.0 beta3, = 1.4 beta3, = 1.5 beta3, = 1.5 rc3, = 1.10.0 rc2, = 1.13.0 rc2, = 1.16.0 beta2, = 1.19 beta_2, = 1.4 beta2, = 1.5 alpha2, = 1.5 beta2, = 1.5 rc2, = 1.9.0 rc2, = 1.19.0, = 1.19, = 1.19 beta_1, = 1.18.3, = 1.18.2, = 1.18.1, = 1.18.0, = 1.18.0 rc1, = 1.18, = 1.18 beta_1, <= 1.17.4, = 1.17.3, = 1.17.2, = 1.17.1, = 1.17.0, = 1.17.0 rc1, = 1.17, = 1.17 beta_1, = 1.16.2, = 1.16.1, = 1.16.0, = 1.16.0 beta1, = 1.15.5, = 1.15.4, = 1.15.3, = 1.15.2, = 1.15.1, = 1.15.0, = 1.15.0 rc1, = 1.14.1, = 1.14.0, = 1.14.0 rc1, = 1.13.4, = 1.13.3, = 1.13.2, = 1.13.1, = 1.13.0, = 1.13.0 rc1, = 1.12.4, = 1.12.3, = 1.12.2, = 1.12.1, = 1.12.0, = 1.12.0 rc1, = 1.11.2, = 1.11.1, = 1.11.0, = 1.11.0 rc1, = 1.11, = 1.10.4, = 1.10.3, = 1.10.2, = 1.10.1, = 1.10.0, = 1.10.0 rc1, = 1.9.6, = 1.9.5, = 1.9.4, = 1.9.3, = 1.9.2, = 1.9.1, = 1.9.0, = 1.8.5, = 1.8.4, = 1.8.3, = 1.8.2, = 1.8.1, = 1.8.0, = 1.7.3, = 1.7.2, = 1.7.1, = 1.7.0, = 1.6.12, = 1.6.11, = 1.6.10, = 1.6.9, = 1.6.8, = 1.6.7, = 1.6.6, = 1.6.5, = 1.6.4, = 1.6.3, = 1.6.2, = 1.6.1, = 1.6.0, = 1.5.8, = 1.5.7, = 1.5.6, = 1.5.5, = 1.5.4, = 1.5.3, = 1.5.2, = 1.5.1, = 1.5.0, = 1.5 alpha1, = 1.5 beta1, = 1.4.14, = 1.4.13, = 1.4.12, = 1.4.11, = 1.4.10, = 1.4.9, = 1.4.8, = 1.4.7, = 1.4.6, = 1.4.5, = 1.4.4, = 1.4.3, = 1.4.2, = 1.4.1, = 1.4.0, = 1.4 beta1, = 1.3.15, = 1.3.14, = 1.3.13, = 1.3.12, = 1.3.11, = 1.3.10, = 1.3.9, = 1.3.8, = 1.3.7, = 1.3.6, = 1.3.5, = 1.3.4, = 1.3.3, = 1.3.2, = 1.3.1, = 1.3.0, = 1.3, = 1.2.6, = 1.2.5, = 1.2.4, = 1.2.3, = 1.2.2, = 1.2.1, = 1.2.0, = 1.1.0nonvd/v1/products/mediawiki/mediawiki

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2012-06-29
  • Remote: yes
  • Exposed hosts: 171527
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports