Remote code execution via tokenless HTML conversion
Published Jan 4, 2023 · Updated Mar 10, 2025
CSRF in XWiki Contrib CKEditor Integration before 1.64.3 allows remote attackers to execute arbitrary code through a crafted GET request. The CKEditor.HTMLConverter document accepted conversion flags and macro-bearing text without validating a CSRF form token, so it rendered attacker-supplied macros with the current user's rights. Exploitation requires interaction by an XWiki user with programming rights through a crafted image URL or redirect; resulting macro execution can read private data, alter rights, or interrupt the wiki service.
Summary
What happened
CSRF in XWiki Contrib CKEditor Integration before 1.64.3 allows remote attackers to execute arbitrary code through a crafted GET request. The CKEditor.HTMLConverter document accepted conversion flags and macro-bearing text without validating a CSRF form token, so it rendered attacker-supplied macros with the current user's rights. Exploitation requires interaction by an XWiki user with programming rights through a crafted image URL or redirect; resulting macro execution can read private data, alter rights, or interrupt the wiki service.
The record
- CVE
- CVE-2023-22457
- Published
- Jan 4, 2023
- Updated
- Mar 10, 2025
- Vendor
- XWiki Contrib
- Product
- CKEditor Integration
- Classifications
- CWE-352, T1204.001
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Jan 4, 2023CVE publishedPublication date reported by the CVE source.
- Mar 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.64.3
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.
Public exploit references
- Upstream HTMLConverter Groovy demonstration requestproof 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