CVE-2025-7056 Stored XSS in UrlShortener
Stored XSS in MediaWiki UrlShortener extension allows attackers to inject scripts, potentially leading to code execution or account takeover.
- 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-7056?
CVE-2025-7056 is a medium-severity cross-site scripting vulnerability in Wikimedia Foundation Mediawiki - UrlShortener Extension, published on 7 Jul 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 - UrlShortener Extension allows Stored XSS.This issue affects Mediawiki - UrlShortener Extension: from 1.42.X before 1.42.7, from 1.43.X before 1.43.2.
Weakness: CWE-79
Which versions are affected by CVE-2025-7056?
How do I fix CVE-2025-7056?
No fix has been published for CVE-2025-7056 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-7056 being exploited?
There is no known exploitation of CVE-2025-7056 in the wild and no public exploit code.
Sources
Also known as GHSA-8hgh-2mpg-3cvm.