SecurityContext

CVE-2020-27620: MediaWiki - Stored XSS

  • Cve: CVE-2020-27620
  • Name: MediaWiki - Stored XSS
  • Description: The Cosmos Skin for MediaWiki through 1.35.0 has stored XSS because MediaWiki messages were not being properly escaped. This is related to wfMessage and Html::rawElement, as demonstrated by CosmosSocialProfile::getUserGroups.
  • Impact: Stored XSS can lead to arbitrary script execution in users' browsers, potentially stealing cookies or hijacking user sessions.
  • Remediation: Update to MediaWiki 1.35.1 or later, where the issue is fixed.
  • Vulnerability type: stored_xss
  • Vulnerability impact: client_script_exec, information_disclosure
  • Requirement type: logged_in
  • Requirements: Attacker needs to store malicious message
  • 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.01123
  • Epss percentile: 0.67072
  • Assignee: [email protected]
  • Published at: 2020-10-22T04:15:11Z
  • Age in days: 2224
  • Modified at: 2026-06-17T03:09:22Z
  • References total: 4
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2020-27620
  • Nvd status: modified
  • Checked, none or zero: patch available, 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

Same in every row:

  • Source: nvd
  • Tags: Vendor Advisory
Url
https://gerrit.wikimedia.org/r/c/mediawiki/skins/Cosmos/+/634749
https://gerrit.wikimedia.org/r/c/mediawiki/skins/Cosmos/+/634751
https://gerrit.wikimedia.org/r/c/mediawiki/skins/Cosmos/+/634752
https://phabricator.wikimedia.org/T265440

Products

ProductAffectedPlatform boundSourcesUrl
mediawiki:skin:cosmos<= 1.35.0nonvd/v1/products/mediawiki/skin:cosmos

Index

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

Exploitation

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