Skip to main content

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

0
Medium
Published: 07/01/2026 (07/01/2026, 15:17:00 UTC)
Source: GCVE Database
Product: mediawiki

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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Affected software

Ubuntu:18.04:LTSmore threats →ghsa
mediawiki
pkg:deb/ubuntu/mediawiki?arch=source&distro=bionic
Affected versions
=1:1.27.3-1=1:1.27.4-1=1:1.27.4-2=1:1.27.4-3
Ubuntu:Pro:20.04:LTSmore threats →ghsa
mediawiki
pkg:deb/ubuntu/mediawiki?arch=source&distro=esm-apps/focal
Affected versions
=1:1.31.2-1ubuntu1=1:1.31.5-1=1:1.31.5-1ubuntu1=1:1.31.5-2=1:1.31.5-3=1:1.31.5-3ubuntu1=1:1.31.6-1=1:1.31.7-1=1:1.31.7-1ubuntu0.1~esm1
Ubuntu:Pro:22.04:LTSmore threats →ghsa
mediawiki
pkg:deb/ubuntu/mediawiki?arch=source&distro=esm-apps/jammy
Affected versions
=1:1.35.3-1=1:1.35.4-1=1:1.35.5-1=1:1.35.5-1ubuntu1=1:1.35.5-1ubuntu2=1:1.35.5-1ubuntu3=1:1.35.6-1=1:1.35.6-1ubuntu0.1~esm1
Ubuntu:Pro:24.04:LTSmore threats →ghsa
mediawiki
pkg:deb/ubuntu/mediawiki?arch=source&distro=esm-apps/noble
Affected versions
=1:1.39.4-2=1:1.39.5-1=1:1.39.6-1=1:1.39.7-1=1:1.39.7-1ubuntu0.1~esm1
Ubuntu:25.10more threats →ghsa
mediawiki
pkg:deb/ubuntu/mediawiki?arch=source&distro=questing
Affected versions
=1:1.43.1+dfsg-1=1:1.43.1+dfsg-2=1:1.43.3+dfsg-1
Ubuntu:26.10more threats →ghsa
mediawiki
pkg:deb/ubuntu/mediawiki?arch=source&distro=stonking
Affected versions
=1:1.43.8+dfsg-2=1:1.43.9+dfsg-1=1:1.43.9+dfsg-1ubuntu1
Ubuntu:26.04:LTSmore threats →ghsa
mediawiki
pkg:deb/ubuntu/mediawiki?arch=source&distro=resolute
Affected versions
=1:1.43.3+dfsg-1=1:1.43.5+dfsg-1=1:1.43.6+dfsg-2=1:1.43.8+dfsg-1=1:1.43.8+dfsg-2

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: 10/18/2026, 00:33:32 UTC

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.

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

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 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