CVE-2026-39838

ProofreadPage improperly sanitizes multiline styles using Sanitizer::checkCSS

Published Apr 7, 2026 CVSS 4.0 · 6.9 Medium EPSS < 1% KEV · Not listed
Description
Improper neutralization of input during web page generation ('cross-site scripting') vulnerability in Wikimedia Foundation MediaWiki - ProofreadPage Extension allows XSS Targeting Non-Script Elements.
The issue has been remediated on the `master` branch, and in the release branches for MediaWiki versions 1.43, 1.44, and 1.45.

Analysis

AI-generated

Technical impact

This vulnerability arises when the ProofreadPage Extension does not fully neutralize CSS input, allowing attackers to inject malicious code into page rendering. The weakness corresponds to CWE‑79, enabling cross‑site scripting that can execute arbitrary scripts in the context of a victim user, potentially leading to session hijacking, data theft, or defacement.

Affected Systems

The issue affects Wikimedia Foundation MediaWiki installations that use the ProofreadPage Extension. Versions before MediaWiki 1.43 are vulnerable; patches are available on the master branch and in the release branches for MediaWiki 1.43, 1.44 and 1.45.

Risk and Exploitability

With a CVSS score of 6.9 the risk is moderate to high, but the EPSS indicates a very low likelihood of exploitation (<1%). The vulnerability is not listed in CISA’s KEV catalog. Attackers could exploit it by inserting malicious CSS into content processed by the extension, which will be rendered in the browsers of all users who view the affected page.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the MediaWiki installation to a patched release (1.43, 1.44, or 1.45) or apply the master branch fixes
  • If upgrading is not immediately possible, consider disabling the ProofreadPage Extension or removing unsanitized multiline styles until a patch can be applied

Generated by OpenCVE AI on April 8, 2026 at 20:40 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Wikimedia
Wikimedia mediawiki-proofreadpage Extension
Vendors & Products Wikimedia
Wikimedia mediawiki-proofreadpage Extension
Type Values Removed Values Added
Description Improper neutralization of input during web page generation ('cross-site scripting') vulnerability in Wikimedia Foundation MediaWiki - ProofreadPage Extension allows XSS Targeting Non-Script Elements.This issue affects . Improper neutralization of input during web page generation ('cross-site scripting') vulnerability in Wikimedia Foundation MediaWiki - ProofreadPage Extension allows XSS Targeting Non-Script Elements. The issue has been remediated on the `master` branch, and in the release branches for MediaWiki versions 1.43, 1.44, and 1.45.
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Improper neutralization of input during web page generation ('cross-site scripting') vulnerability in Wikimedia Foundation MediaWiki - ProofreadPage Extension allows XSS Targeting Non-Script Elements.This issue affects .
Title ProofreadPage improperly sanitizes multiline styles using Sanitizer::checkCSS
Weaknesses CWE-79
References
Metrics cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:L/SI:N/SA:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
wikimedia-foundation
Published
Updated
Apr 8, 2026, 6:48 PM
Reserved
Apr 7, 2026, 6:21 PM
Status
Awaiting Analysis
Published
Apr 7, 2026, 8:16 PM
Modified
Jul 21, 2026, 7:10 PM