CVE-2023-37255
NixOS vulnerability analysis and mitigation

Overview

A cross-site scripting (XSS) vulnerability was discovered in the CheckUser extension for MediaWiki through version 1.39.3. The vulnerability exists in Special:CheckUser when performing a 'get edits' type check, where HTML injection is possible through the User-Agent HTTP request header (NVD, Wikimedia).

Technical details

The vulnerability occurs in the 'get edits' check type functionality where user agent strings are not properly escaped before being displayed. The issue was introduced when the code changed from using htmlspecialchars() to handle user agent strings. The CVSS v3.1 base score is 6.1 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N (NVD).

Impact

An attacker could exploit this vulnerability by modifying their user agent string to include malicious HTML/JavaScript code. When a CheckUser performs a 'get edits' type check on actions performed with this modified user agent, the injected code would be executed in the CheckUser's browser context. The user agent is truncated to 255 bytes in the database which may limit the exploitation potential (Wikimedia).

Mitigation and workarounds

The vulnerability was fixed by properly escaping the user agent string before display. The fix was deployed to Wikimedia production systems and backported to MediaWiki versions 1.39 and 1.40. Earlier versions (1.38 and before) are not affected by this vulnerability as they used proper escaping. Users should upgrade to patched versions of the CheckUser extension (Wikimedia).

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-2025-14330CRITICAL9.8
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox_esr
NoYesDec 09, 2025
CVE-2025-14329HIGH8.8
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox:*:*:*:*:esr:*:*:*
NoYesDec 09, 2025
CVE-2025-14333HIGH8.1
  • NixOSNixOS
  • firefox
NoYesDec 09, 2025
CVE-2025-14332HIGH7.3
  • NixOSNixOS
  • firefox
NoYesDec 09, 2025
CVE-2025-14331MEDIUM6.5
  • NixOSNixOS
  • firefox
NoYesDec 09, 2025

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