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 in MediaWiki 1.46.0-rc.0 arises from improper neutralization of input during web page generation, specifically in the resources/src/mediawiki.Special.Apisandbox/ApiSandboxLayout.js file. It is classified as CWE-79 (Cross-site Scripting). The issue could allow an attacker with limited privileges to inject malicious scripts that execute in the context of other users. The CVSS 4.0 vector indicates network attack vector, low complexity, low privileges required, and user interaction needed, with no confidentiality, integrity, or availability impact. No official fix or patch has been documented as of the publication date.
Potential Impact
The vulnerability could enable an attacker to execute arbitrary scripts in the context of users interacting with the affected MediaWiki instance, potentially leading to session hijacking or other client-side attacks. However, the CVSS vector indicates no direct impact on confidentiality, integrity, or availability of the system itself. The attack requires user interaction and low privileges.
Mitigation Recommendations
Patch status is not yet confirmed — check the Wikimedia Foundation advisory for current remediation guidance. Until an official fix is released, users should exercise caution with untrusted input in the ApiSandbox feature. No vendor-provided mitigation or temporary fix is currently documented.
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 in MediaWiki 1.46.0-rc.0 arises from improper neutralization of input during web page generation, specifically in the resources/src/mediawiki.Special.Apisandbox/ApiSandboxLayout.js file. It is classified as CWE-79 (Cross-site Scripting). The issue could allow an attacker with limited privileges to inject malicious scripts that execute in the context of other users. The CVSS 4.0 vector indicates network attack vector, low complexity, low privileges required, and user interaction needed, with no confidentiality, integrity, or availability impact. No official fix or patch has been documented as of the publication date.
Potential Impact
The vulnerability could enable an attacker to execute arbitrary scripts in the context of users interacting with the affected MediaWiki instance, potentially leading to session hijacking or other client-side attacks. However, the CVSS vector indicates no direct impact on confidentiality, integrity, or availability of the system itself. The attack requires user interaction and low privileges.
Mitigation Recommendations
Patch status is not yet confirmed — check the Wikimedia Foundation advisory for current remediation guidance. Until an official fix is released, users should exercise caution with untrusted input in the ApiSandbox feature. No vendor-provided mitigation or temporary fix is currently documented.
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/01/2026, 14:54:23 UTC
Last updated: 07/01/2026, 21:31:04 UTC
Views: 2
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.