CVE-2025-32071 Wikibase CommonsInlineImageFormatter: i18n XSS
Cross-site scripting vulnerability in MediaWiki Wikidata extension allows attackers to inject scripts via image dimension messages.
- 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-32071?
CVE-2025-32071 is a medium-severity cross-site scripting vulnerability in The Wikimedia Foundation Mediawiki - Wikidata Extension, published on 11 Apr 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
Improper Input Validation vulnerability in The Wikimedia Foundation Mediawiki - Wikidata Extension allows Cross-Site Scripting (XSS) from widthheight message via ImageHandler::getDimensionsString()This issue affects Mediawiki - Wikidata Extension: from 1.39 through 1.43.
Weakness: CWE-20
Which versions are affected by CVE-2025-32071?
How do I fix CVE-2025-32071?
No fix has been published for CVE-2025-32071 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-32071 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-32071 exists.
Sources
Also known as GHSA-4hmh-4xrv-g83v.