CVE-2024-34507 in Fedoraproject Fedora and 1 more product
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.
Affects 2 products from 2 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, requires user interaction, can impact systems beyond the vulnerable component, full confidentiality impact, no integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Fedoraproject | Fedora | 40 |
| Mediawiki | Mediawiki | < 1.39.7 ≥ 1.40.0, < 1.40.3 ≥ 1.41.0, < 1.41.1 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2024-34507 |
|---|---|
| BreachSpider ID | BS-2024-GLOBAL-193819-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N |
| Published | 2024-05-05 |
| Last modified | 2025-11-04 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-80: CWE-80
Related attack patterns (CAPEC)
CAPEC-18 XSS Targeting Non-Script Elements via CWE-80
CAPEC-32 XSS Through HTTP Query Strings via CWE-80
CAPEC-86 XSS Through HTTP Headers via CWE-80
CAPEC-193 PHP Remote File Inclusion via CWE-80
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A Cross-Site Scripting (XSS) vulnerability exists in MediaWiki versions before 1.39.7, 1.40.x before 1.40.3, and 1.41.x before 1.41.1 due to improper handling of the 0x1b character in the CommentParser.php file.
An attacker can exploit this vulnerability by injecting malicious scripts into comments via the Special:RecentChanges page, potentially leading to unauthorized actions being performed on behalf of the user.
Questions
What is CVE-2024-34507?
A Cross-Site Scripting (XSS) vulnerability exists in MediaWiki versions before 1.39.7, 1.40.x before 1.40.3, and 1.41.x before 1.41.1 due to improper handling of the 0x1b character in the CommentParser.php file.
What is the CVSS score for CVE-2024-34507?
CVE-2024-34507 has CVSS 7.4 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N. EPSS: 0.9%.
Is CVE-2024-34507 actively exploited?
No confirmed active exploitation of CVE-2024-34507 as of 2026-05-30.
How do I remediate CVE-2024-34507?
Priority: HIGH. PSIRT: [email protected]
What systems are affected by CVE-2024-34507?
CVE-2024-34507 affects Fedoraproject Fedora; Mediawiki Mediawiki.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Fedoraproject","product":"Fedora","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2025-11-04.