SecurityContext

CVE-2023-37302: MediaWiki - Reflected XSS

  • Cve: CVE-2023-37302
  • Name: MediaWiki - Reflected XSS
  • Description: An issue was discovered in SiteLinksView.php in Wikibase in MediaWiki through 1.39.3. There is XSS via a crafted badge title attribute. This is also related to lack of escaping in wbTemplate (from resources/wikibase/templates.js) for quotes (which can be in a title attribute).
  • Impact: Attackers can execute arbitrary scripts in the context of other users, leading to session hijacking or defacement.
  • Remediation: Implement proper escaping in wbTemplate for quotes and sanitize badge titles to prevent XSS.
  • Vulnerability type: reflected_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: user_interaction
  • Requirements: Victim must view a crafted badge with malicious title
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.1
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • Epss score: 0.00689
  • Epss percentile: 0.53711
  • Assignee: [email protected]
  • Published at: 2023-06-30T17:15:09Z
  • Age in days: 1243
  • Modified at: 2026-06-17T06:07:55Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-37302
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: hackerone

Cwe

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

Public exploits

UrlSourceAdded date
https://phabricator.wikimedia.org/T339111nvd2023-06-30

References

Same in every row:

  • Source: nvd
UrlTags
https://phabricator.wikimedia.org/T339111Exploit, Issue Tracking, Patch, Vendor Advisory
https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Wikibase/+/933649Release Notes, Vendor Advisory
https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Wikibase/+/933650Release Notes, Vendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
mediawiki:mediawiki<= 1.39.3nonvd/v1/products/mediawiki/mediawiki

Projects

RepositoryLink kindsIndexedUrl
wikimedia/mediawikipackageyes/v1/repositories/wikimedia/mediawiki

Index

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

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2023-06-30
  • Remote: yes
  • Exposed hosts: 170630
  • 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