CVE-2024-34507: includes/CommentFormatter/CommentParser.php
Affects mediawikiSource GCVE Database
Not known to be exploited · CVSS 7.4 High.
Data as of 24 Nov 2026, 19:26 UTC
Thin evidence
One scorer or none| CISA-ADP | CVSS 3.1 | 7.4 |
|---|
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 5 May 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu Pro 22.04 LTSmediawikipkg:deb/ubuntu/mediawiki?arch=source&distro=esm-apps/jammyOther threats | Affected
| Fixed in– |
Ubuntu Pro 20.04 LTSmediawikipkg:deb/ubuntu/mediawiki?arch=source&distro=esm-apps/focalOther threats | Affected
| Fixed in– |
Ubuntu 18.04 LTSmediawikipkg:deb/ubuntu/mediawiki?arch=source&distro=bionicOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
An issue was discovered in includes/CommentFormatter/CommentParser.php in MediaWiki before 1.39.7, 1.40.x before 1.40.3, and 1.41.x before 1.41.1. XSS can occur because of mishandling of the 0x1b character, as demonstrated by Special:RecentChanges#%1b0000000.
References
- ubuntu.com/security/CVE-2024-34507 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2024-34507 (opens in a new tab)
- lists.wikimedia.org/hyperkitty/list/wikitech-l@lists.wikimedia.org/thread/V3WXEPXV2DU6WTVEKK4XHW4QXD5OFKD7/ (opens in a new tab)
- phabricator.wikimedia.org/T355538 (opens in a new tab)
- gerrit.wikimedia.org/r/c/mediawiki/core/+/1015422 (opens in a new tab)