SecurityContext

CVE-2024-40605: MediaWiki - Stored XSS

  • Cve: CVE-2024-40605
  • Name: MediaWiki - Stored XSS
  • Description: An issue was discovered in the Foreground skin for MediaWiki through 1.42.1. There is stored XSS via MediaWiki:Sidebar top-level menu entries.
  • Impact: Attackers can execute arbitrary scripts in users' browsers, potentially leading to session hijacking or defacement.
  • Remediation: Update to the latest version of MediaWiki, or sanitize input in MediaWiki:Sidebar.
  • Vulnerability type: stored_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: logged_in
  • Requirements: Attacker must be able to store malicious content.
  • 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.00319
  • Epss percentile: 0.25063
  • Assignee: [email protected]
  • Published at: 2024-07-07T00:15:10Z
  • Age in days: 870
  • Modified at: 2026-06-17T07:46:10Z
  • Public exploits total: 1
  • References total: 1
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-40605
  • Nvd status: modified
  • Checked, none or zero: patch available, 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://phabricator.wikimedia.org/T361452nvd2024-07-07

References

UrlSourceTags
https://phabricator.wikimedia.org/T361452nvdExploit, Issue Tracking

Products

ProductAffectedPlatform boundSourcesUrl
mediawiki:mediawiki<= 1.42.1nonvd/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: 2024-07-07
  • Remote: yes
  • Authentication required: yes
  • Exposed hosts: 170630
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports