CVE-2025-53487 ApprovedRevs: Stored Cross-Site Scripting (XSS) via unsanitized system messages
Attackers can inject JavaScript via unsanitized system messages in the ApprovedRevs extension, potentially leading to session hijacking or malicious actions.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2025-53487?
CVE-2025-53487 is a medium-severity cross-site scripting vulnerability in Wikimedia Foundation Mediawiki - ApprovedRevs extension, published on 7 Jul 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
The ApprovedRevs extension for MediaWiki is vulnerable to stored XSS in multiple locations where system messages are inserted into raw HTML without proper escaping. Attackers can exploit this by injecting JavaScript payloads via the uselang=x-xss language override, which causes crafted message keys to be rendered unescaped.
This issue affects Mediawiki - ApprovedRevs extension: from 1.39.X before 1.39.13, 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-53487?
How do I fix CVE-2025-53487?
No fix has been published for CVE-2025-53487 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-53487 being exploited?
There is no known exploitation of CVE-2025-53487 in the wild and no public exploit code.
Sources
Also known as GHSA-mvg5-47qm-mhwf.