CVE-2024-40605
NixOS vulnerability analysis and mitigation

Overview

A stored Cross-Site Scripting (XSS) vulnerability was discovered in the Foreground skin for MediaWiki through version 1.42.1. The vulnerability allows attackers to execute malicious code via MediaWiki:Sidebar top-level menu entries (NIST NVD, MITRE CVE).

Technical details

The vulnerability has been assigned a CVSS v3.1 base score of 4.8 (MEDIUM) with the vector string CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N. This indicates that the vulnerability requires high privileges to exploit, requires user interaction, and can potentially lead to limited confidentiality and integrity impacts (NIST NVD).

Impact

The vulnerability allows attackers with high privileges to inject malicious code through MediaWiki:Sidebar top-level menu entries, which could lead to the execution of unauthorized scripts in users' browsers when they view affected pages (NIST NVD).

Exploitability

The vulnerability requires high privileges to exploit and user interaction for successful execution. An exploit has been documented in the Wikimedia Phabricator issue tracking system (Wikimedia Phabricator).

Mitigation and workarounds

Users should upgrade to a version of MediaWiki that contains the fix for this vulnerability. The issue affects MediaWiki through version 1.42.1 (NIST 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-86993MEDIUM5.9
  • NixOS logoNixOS
  • n8n
NoYesSep 08, 2026
CVE-2026-86996MEDIUM5.3
  • NixOS logoNixOS
  • n8n
NoYesSep 08, 2026
CVE-2026-86995MEDIUM5.3
  • NixOS logoNixOS
  • n8n
NoYesSep 08, 2026
CVE-2026-86994MEDIUM5.3
  • NixOS logoNixOS
  • n8n
NoYesSep 08, 2026
CVE-2026-86085MEDIUM5.1
  • NixOS logoNixOS
  • n8n
NoYesSep 08, 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