CVE-2024-34507
NixOS vulnerability analysis and mitigation

Overview

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. The vulnerability involves a cross-site scripting (XSS) issue that occurs due to improper handling of the 0x1b character, which can be demonstrated through Special:RecentChanges#%1b0000000 (MITRE).

Technical details

The vulnerability is classified as CWE-80 (Improper Neutralization of Script-Related HTML Tags in a Web Page - Basic XSS). According to the CVSS 3.1 scoring, it has received a base score of 7.4 (HIGH) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N, indicating that it is network-accessible, requires low attack complexity, needs no privileges, but does require user interaction (NVD).

Impact

The vulnerability allows for cross-site scripting attacks through the mishandling of the 0x1b character in MediaWiki's comment parser. This could potentially lead to unauthorized script execution in the context of other users' browsers when they visit affected pages (MITRE).

Exploitability

The vulnerability can be exploited through the Special:RecentChanges page by using the specific payload containing the 0x1b character. The attack vector is network-accessible and requires low complexity to execute, though user interaction is necessary for successful exploitation (NVD).

Mitigation and workarounds

Users should upgrade to MediaWiki versions 1.39.7, 1.40.3, or 1.41.1 or later, depending on their current version track. These versions contain the necessary fixes to address the XSS vulnerability (MITRE).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-34191CRITICAL9.1
  • NixOS logoNixOS
  • apr-util
NoYesAug 06, 2026
CVE-2026-32327CRITICAL9.1
  • NixOS logoNixOS
  • apr-util
NoYesAug 06, 2026
CVE-2026-34502HIGH7.5
  • NixOS logoNixOS
  • apr-util
NoYesAug 06, 2026
CVE-2026-34501HIGH7.5
  • NixOS logoNixOS
  • apr-util
NoYesAug 06, 2026
CVE-2025-49506HIGH7.5
  • NixOS logoNixOS
  • apr-util
NoYesAug 06, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management