Cross-site scripting via unescaped dimension metadata
Published Apr 11, 2025 · Updated Jul 7, 2025
Cross-site scripting in Wikimedia Foundation Wikibase 1.39 through 1.43 allows remote authenticated users to run script in a viewer's browser. CommonsInlineImageFormatter::getFileMetaHtml() inserts the plain-text widthheight result from ImageHandler::getDimensionsString() directly into HTML without escaping it. Exploitation requires low-privileged access, a crafted widthheight message, and a viewer to open an entity containing a commonsMedia image.
Summary
What happened
Cross-site scripting in Wikimedia Foundation Wikibase 1.39 through 1.43 allows remote authenticated users to run script in a viewer's browser. CommonsInlineImageFormatter::getFileMetaHtml() inserts the plain-text widthheight result from ImageHandler::getDimensionsString() directly into HTML without escaping it. Exploitation requires low-privileged access, a crafted widthheight message, and a viewer to open an entity containing a commonsMedia image.
The record
- CVE
- CVE-2025-32071
- Published
- Apr 11, 2025
- Updated
- Jul 7, 2025
- Vendor
- Wikimedia Foundation
- Product
- Wikibase
- Classifications
- CWE-20, CAPEC-63, T1059.007
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Apr 11, 2025CVE publishedPublication date reported by the CVE source.
- Jul 7, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=1.39 <=1.43
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Wikimedia Phabricator reproduction procedureproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo