Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in Wikimedia Foundation MediaWiki. (CVE-2026-58031)
Description
A Cross-site Scripting (XSS) vulnerability exists in Wikimedia Foundation MediaWiki affecting versions from 1.46.0-rc.0 before 1.46.0. The issue is due to improper neutralization of input during web page generation in the ApiSandboxLayout.js file. This vulnerability has a medium severity with a CVSS score of 5.4.
CVSS v3.1
Score 5.4medium
Affected software
pkg:deb/ubuntu/mediawiki?arch=source&distro=bionicpkg:deb/ubuntu/mediawiki?arch=source&distro=esm-apps/focalpkg:deb/ubuntu/mediawiki?arch=source&distro=esm-apps/jammypkg:deb/ubuntu/mediawiki?arch=source&distro=esm-apps/noblepkg:deb/ubuntu/mediawiki?arch=source&distro=questingpkg:deb/ubuntu/mediawiki?arch=source&distro=stonkingpkg:deb/ubuntu/mediawiki?arch=source&distro=resoluteRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability identified as CVE-2026-58031 affects MediaWiki versions starting from 1.46.0-rc.0 up to but not including 1.46.0. It is an improper neutralization of input during web page generation, specifically in the program file resources/src/mediawiki.Special.Apisandbox/ApiSandboxLayout.Js, which can lead to Cross-site Scripting (XSS). The CVSS 3.1 base score is 5.4, indicating a medium severity with network attack vector, low attack complexity, requiring privileges and user interaction, and impacts confidentiality and integrity with no impact on availability.
Potential Impact
Successful exploitation of this vulnerability could allow an attacker with privileges and requiring user interaction to execute malicious scripts in the context of the affected MediaWiki web pages. This could lead to partial confidentiality and integrity compromise of the affected system. There is no known exploitation in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch links are provided in the current data. Users should monitor official MediaWiki advisories for updates and apply patches once available.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- UBUNTU-CVE-2026-58031
- Osv Schema Version
- 1.7.0
- Ecosystems
- ["Ubuntu:18.04:LTS","Ubuntu:Pro:20.04:LTS","Ubuntu:Pro:22.04:LTS","Ubuntu:Pro:24.04:LTS","Ubuntu:25.10","Ubuntu:26.10","Ubuntu:26.04:LTS"]
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6ad3f5df2cdf04f65666347b
Added to database: 10/17/2026, 22:25:35 UTC
Last enriched: 10/18/2026, 00:33:32 UTC
Last updated: 10/18/2026, 00:33:32 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.
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.