Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-58031: CWE-79 Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') in Wikimedia Foundation MediaWiki

0
Medium
VulnerabilityCVE-2026-58031cvecve-2026-58031cwe-79
Published: 07/01/2026 (07/01/2026, 14:24:21 UTC)
Source: CVE Database V5
Vendor/Project: Wikimedia Foundation
Product: 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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Passive
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:N/SI:N/SA:N

Affected software

GitHub Actionsmore threats →ai
wikimedia/mediawiki
pkg:github/wikimedia/mediawiki
Affected versions
=1.46.0-rc.0

Run 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

AILast updated: 07/01/2026, 14:54:23 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses