Reflected XSS via unescaped revision parameters
Published Apr 15, 2026 · Updated Apr 15, 2026
Reflected XSS in affected XWiki Platform releases allows remote attackers to execute JavaScript in a user's browser via a crafted compare URL. The changesdoc.vm template interpolates attacker-controlled rev1 and rev2 parameters into link query strings without URL escaping, allowing markup delimiters into generated links. A user must open the crafted comparison URL; execution occurs in that user's session, and an administrator victim exposes the entire instance.
Summary
What happened
Reflected XSS in affected XWiki Platform releases allows remote attackers to execute JavaScript in a user's browser via a crafted compare URL. The changesdoc.vm template interpolates attacker-controlled rev1 and rev2 parameters into link query strings without URL escaping, allowing markup delimiters into generated links. A user must open the crafted comparison URL; execution occurs in that user's session, and an administrator victim exposes the entire instance.
The record
- CVE
- CVE-2026-40105
- Published
- Apr 15, 2026
- Updated
- Apr 15, 2026
- Vendor
- CryptPad
- Product
- XWiki Platform
- Classifications
- CWE-80, T1203
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Apr 15, 2026CVE publishedPublication date reported by the CVE source.
- Apr 15, 2026Record 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=>= 10.4-rc-1, < 16.10.16
- Affected versionversion=>= 17.0.0-rc-1, < 17.4.8
- Affected versionversion=>= 17.5.0-rc-1, < 17.10.1
What conditions does exploitation require?
What is affected?
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
No public exploit references are available in this record.
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