CVE-2025-23072 XSS in Special:RefreshSpecial

Medium 5.4 Published Updated

Cross-site scripting in MediaWiki RefreshSpecial extension allows attackers to inject scripts, potentially leading to session hijacking or malicious actions.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2025-23072?

CVE-2025-23072 is a medium-severity cross-site scripting vulnerability in Wikimedia Foundation Mediawiki - RefreshSpecial Extension, published on 14 Jan 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in Wikimedia Foundation Mediawiki - RefreshSpecial Extension allows Cross-Site Scripting (XSS).This issue affects Mediawiki - RefreshSpecial Extension: from 1.39.X before 1.39.11, from 1.41.X before 1.41.3, from 1.42.X before 1.42.2.

Weakness: CWE-79

Which versions are affected by CVE-2025-23072?

How do I fix CVE-2025-23072?

No fix has been published for CVE-2025-23072 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2025-23072 being exploited?

There is no known exploitation of CVE-2025-23072 in the wild and no public exploit code.

Sources

Also known as GHSA-4h8j-v9x7-v3wj.

Is CVE-2025-23072 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free