CVE-2024-23178: MediaWiki - Stored XSS
- Cve: CVE-2024-23178
- Name: MediaWiki - Stored XSS
- Description: An issue was discovered in the Phonos extension in MediaWiki before 1.40.2. PhonosButton.js allows i18n-based XSS via the phonos-purge-needed-error message.
- Impact: Attackers can execute arbitrary scripts in the victim's browser, leading to session hijacking, defacement, or redirection.
- Remediation: Update to MediaWiki 1.40.2 or later.
- Vulnerability type: stored_xss
- Vulnerability impact: client_script_exec
- Requirement type: user_interaction
- Requirements: Attacker needs to inject malicious message
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.4
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- Epss score: 0.00406
- Epss percentile: 0.35601
- Assignee: [email protected]
- Published at: 2024-01-12T06:15:47Z
- Age in days: 1047
- Modified at: 2026-06-17T07:12:14Z
- Patch available: yes
- Public exploits total: 1
- References total: 2
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-23178
- 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
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://phabricator.wikimedia.org/T349312 | nvd | 2024-01-12 |
References
| Url | Source | Tags |
|---|---|---|
| https://phabricator.wikimedia.org/T349312 | nvd | Exploit, Patch, Vendor Advisory |
| https://lists.wikimedia.org/hyperkitty/list/mediawiki-announce%40lists.wikimedia.org/message/TDBUBCCOQJUT4SCHJNPHKQNPBUUETY52/ | nvd | Mailing List, Release Notes, Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| mediawiki:mediawiki | < 1.40.2 | no | nvd | /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-01-12
- 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