CVE-2022-34912
NixOS vulnerability analysis and mitigation

Overview

A cross-site scripting (XSS) vulnerability was discovered in MediaWiki before versions 1.37.3 and 1.38.x before 1.38.1. The vulnerability, identified as CVE-2022-34912, was discovered on July 2, 2022, and affects the contributions-title feature used on Special:Contributions page. The issue occurs when the contributions-title is used as a page title without proper escaping, particularly in non-default configurations where usernames contain HTML entities (CVE Mitre, NVD).

Technical details

The vulnerability stems from insufficient escaping of input text in the contributions-title message on the Special:Contributions page. In configurations where usernames contain HTML entities, the content is not properly escaped when used as a page title. This implementation flaw could potentially allow malicious users to perform cross-site scripting attacks (Debian Security, Wikimedia Phabricator).

Impact

The impact of this vulnerability is considered low risk, as it requires a non-default configuration where usernames contain HTML entities. If exploited, it could potentially lead to cross-site scripting attacks, allowing attackers to execute malicious scripts in the context of other users' browsers (Debian LTS).

Mitigation and workarounds

The vulnerability has been fixed in MediaWiki versions 1.37.3 and 1.38.1 and later. Users are advised to upgrade to these or newer versions. The fix involves properly escaping the contributions-title message when used within page titles. Various Linux distributions have also released security updates to address this vulnerability, including Debian, Fedora, and Gentoo (Debian Security, Gentoo Security).

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-22783HIGH8.1
  • NixOSNixOS
  • iris
NoYesJan 12, 2026
CVE-2026-0821MEDIUM6.9
  • NixOSNixOS
  • quickjs
NoNoJan 10, 2026
CVE-2025-68949MEDIUM5.3
  • NixOSNixOS
  • n8n
NoYesJan 13, 2026
CVE-2026-22784LOW2.3
  • NixOSNixOS
  • lychee
NoYesJan 12, 2026
CVE-2026-23497LOW1.3
  • NixOSNixOS
  • learning
NoYesJan 14, 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