CVE-2021-42043
NixOS vulnerability analysis and mitigation

Overview

An issue was discovered in Special:MediaSearch in the MediaSearch extension in MediaWiki through 1.36.2. The suggestion text (a parameter to mediasearch-did-you-mean) was not being properly sanitized and allowed for the injection and execution of HTML and JavaScript via the intitle: search operator within the query (NVD).

Technical details

The vulnerability is classified as a Cross-Site Scripting (XSS) issue with a CVSS v3.1 score of 6.1 MEDIUM and CVSS v2.0 score of 4.3 MEDIUM. The vulnerability exists in the MediaSearch extension's Special:MediaSearch feature where user input through the intitle: search operator is not properly sanitized before being output back to users via the mediasearch-did-you-mean parameter (NVD).

Impact

The vulnerability allows attackers to inject and execute arbitrary HTML and JavaScript code in the context of other users' browsers who view the search results. This could lead to theft of sensitive information, session hijacking, or other client-side attacks (NVD).

Exploitability

The vulnerability requires an attacker to craft a specific search query using the intitle: operator that contains malicious HTML or JavaScript code. When other users view the search results containing this crafted query, the injected code would execute in their browser context (NVD).

Mitigation and workarounds

The vulnerability was fixed in versions after MediaWiki 1.36.2. Users should upgrade their MediaWiki installations to a patched version to protect against this vulnerability (NVD).

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-75874CRITICAL10
  • NixOS logoNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesAug 18, 2026
CVE-2026-74990CRITICAL9.8
  • NixOS logoNixOS
  • thunderbird
NoYesAug 18, 2026
CVE-2026-74989CRITICAL9.8
  • NixOS logoNixOS
  • thunderbird
NoYesAug 18, 2026
CVE-2026-74988CRITICAL9.8
  • NixOS logoNixOS
  • thunderbird
NoYesAug 18, 2026
CVE-2026-74987CRITICAL9.8
  • NixOS logoNixOS
  • MozillaFirefox
NoYesAug 18, 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