Stored XSS via unescaped conflict-resolution diff
Published Jul 31, 2024 · Updated Aug 13, 2024
Stored XSS in CryptPad XWiki Platform before 15.10.8 or 16.3.0-rc-1 allows remote authenticated users to run JavaScript. The diff_macros.vm conflict renderer joins edited values directly into a span without XML escaping, so crafted script tags become executable markup. Exploitation requires edit rights on the same page, a higher-privileged user to save a conflicting edit, and that user to choose individual conflict resolution; the script then runs in that user's browser context.
Summary
What happened
Stored XSS in CryptPad XWiki Platform before 15.10.8 or 16.3.0-rc-1 allows remote authenticated users to run JavaScript. The diff_macros.vm conflict renderer joins edited values directly into a span without XML escaping, so crafted script tags become executable markup. Exploitation requires edit rights on the same page, a higher-privileged user to save a conflicting edit, and that user to choose individual conflict resolution; the script then runs in that user's browser context.
The record
- CVE
- CVE-2024-41947
- Published
- Jul 31, 2024
- Updated
- Aug 13, 2024
- Vendor
- CryptPad
- Product
- XWiki Platform
- Classifications
- CWE-80, CWE-79, T1059.007
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Jul 31, 2024CVE publishedPublication date reported by the CVE source.
- Aug 13, 2024Record 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=>= 11.8-rc-1, < 15.10.8
- Affected versionversion=11.8-rc-1 <15.10.8
- Affected versionversion=>= 16.0.0-rc-1, < 16.3.0-rc-1
- Affected versionversion=16.0.0-rc-1 <16.3.0-rc-1
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
- Upstream conflict-resolution XSS reproductionproof 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