CVE-2025-61640 Stored XSS through system messages in Special:RecentChangesLinked (MW Core)

None 0.0 Published Updated

Attackers can inject malicious scripts via system messages in RecentChangesLinked, potentially leading to code execution or account takeover.

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

What is CVE-2025-61640?

CVE-2025-61640 is a cross-site scripting vulnerability in Mediawiki Mediawiki, published on 2 Feb 2026. An attacker needs administrator access to exploit it, 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. This vulnerability is associated with program files resources/src/mediawiki.Rcfilters/ui/RclToOrFromWidget.Js.

This issue affects MediaWiki: from * before 1.39.14, 1.43.4, 1.44.1.

Weakness: CWE-79

Which versions are affected by CVE-2025-61640?

It affects 1 product.

Products include Mediawiki Mediawiki.

How do I fix CVE-2025-61640?

Upgrade to a fixed version.

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-61640 being exploited?

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

All Mediawiki Mediawiki vulnerabilities

Sources

Also known as DEBIAN-CVE-2025-61640, GHSA-39fr-2fph-j42r, UBUNTU-CVE-2025-61640.

Is CVE-2025-61640 in your software?

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

Check your SBOMs for free