SecurityContext

CVE-2021-42048: MediaWiki - Stored XSS

  • Cve: CVE-2021-42048
  • Name: MediaWiki - Stored XSS
  • Description: An issue was discovered in the Growth extension in MediaWiki through 1.36.2. Any admin can add arbitrary JavaScript code to the Newcomer home page footer, which can be executed by viewers with zero edits.
  • Impact: Attackers can execute arbitrary scripts in viewers' browsers, leading to session hijacking, defacement, or further attacks.
  • Remediation: Update to the latest version of MediaWiki where this issue is fixed.
  • Vulnerability type: stored_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: admin_privileges
  • Requirements: Attacker needs admin privileges
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 4.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
  • Epss score: 0.00658
  • Epss percentile: 0.52245
  • Assignee: [email protected]
  • Published at: 2022-09-29T03:15:14Z
  • Age in days: 1517
  • Modified at: 2026-06-17T04:09:13Z
  • Patch available: yes
  • References total: 2
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-42048
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

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

References

UrlSourceTags
https://gerrit.wikimedia.org/r/q/Iaa90a8976834d70caad592e9d1b18510318db537nvdPatch, Vendor Advisory
https://phabricator.wikimedia.org/T289064nvdPatch, Vendor Advisory

Products

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

Index

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

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Exposed hosts: 170630
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports