Stored script execution via unescaped system messages
Published Jul 3, 2025 · Updated Jul 10, 2025
Stored XSS in Wikimedia Foundation MassEditRegex before 1.39.13, 1.42.7, and 1.43.2 allows remote authenticated users to execute scripts. The preview path retrieves the masseditregex-before and masseditregex-after messages in text mode, concatenates them with HTML, and passes them as raw diff headers without sanitization. Exploitation requires permission to edit system messages and a user with MassEditRegex access to preview a change, enabling script execution in that viewer's browser.
Summary
What happened
Stored XSS in Wikimedia Foundation MassEditRegex before 1.39.13, 1.42.7, and 1.43.2 allows remote authenticated users to execute scripts. The preview path retrieves the masseditregex-before and masseditregex-after messages in text mode, concatenates them with HTML, and passes them as raw diff headers without sanitization. Exploitation requires permission to edit system messages and a user with MassEditRegex access to preview a change, enabling script execution in that viewer's browser.
The record
- CVE
- CVE-2025-53500
- Published
- Jul 3, 2025
- Updated
- Jul 10, 2025
- Vendor
- Wikimedia Foundation
- Product
- MassEditRegex
- Classifications
- CWE-79, CAPEC-592, T1059.007
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Jul 3, 2025CVE publishedPublication date reported by the CVE source.
- Jul 10, 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.x <1.39.13
- Affected versionversion=1.42.x <1.42.7
- Affected versionversion=1.43.x <1.43.2
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 stepsproof 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