CVE-2026-58031: CWE-79 Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') in Wikimedia Foundation MediaWiki
Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in Wikimedia Foundation MediaWiki. This vulnerability is associated with program files resources/src/mediawiki.Special.Apisandbox/ApiSandboxLayout.Js. This issue affects MediaWiki: from 1.46.0-rc.0 before 1.46.0.
AI Analysis
Technical Summary
This vulnerability is an instance of CWE-79, where user input is not properly sanitized or neutralized during the generation of web pages, specifically within the ApiSandboxLayout.js resource of MediaWiki. This flaw allows for potential cross-site scripting attacks, which could enable an attacker to inject malicious scripts into web pages viewed by other users. The affected versions are from 1.46.0-rc.0 before 1.46.0. There is no vendor advisory or patch information currently available to confirm remediation status.
Potential Impact
The vulnerability could allow an attacker with limited privileges to execute arbitrary scripts in the context of users viewing the affected MediaWiki pages, potentially leading to session hijacking, defacement, or other malicious actions typical of XSS attacks. However, no known exploits are reported in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should exercise caution with untrusted input in the affected MediaWiki versions and consider applying any available workarounds recommended by the Wikimedia Foundation.
CVE-2026-58031: CWE-79 Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') in Wikimedia Foundation MediaWiki
Description
Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in Wikimedia Foundation MediaWiki. This vulnerability is associated with program files resources/src/mediawiki.Special.Apisandbox/ApiSandboxLayout.Js. This issue affects MediaWiki: from 1.46.0-rc.0 before 1.46.0.
CVSS v4.0
Score 0.0none
Affected software
pkg:github/wikimedia/mediawikiRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability is an instance of CWE-79, where user input is not properly sanitized or neutralized during the generation of web pages, specifically within the ApiSandboxLayout.js resource of MediaWiki. This flaw allows for potential cross-site scripting attacks, which could enable an attacker to inject malicious scripts into web pages viewed by other users. The affected versions are from 1.46.0-rc.0 before 1.46.0. There is no vendor advisory or patch information currently available to confirm remediation status.
Potential Impact
The vulnerability could allow an attacker with limited privileges to execute arbitrary scripts in the context of users viewing the affected MediaWiki pages, potentially leading to session hijacking, defacement, or other malicious actions typical of XSS attacks. However, no known exploits are reported in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should exercise caution with untrusted input in the affected MediaWiki versions and consider applying any available workarounds recommended by the Wikimedia Foundation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- wikimedia-foundation
- Date Reserved
- 2026-06-27T13:32:37.577Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a45260a27e9c79719982a7d
Added to database: 07/01/2026, 14:36:58 UTC
Last enriched: 07/10/2026, 10:03:28 UTC
Last updated: 08/16/2026, 00:41:14 UTC
Views: 58
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.