Unauthenticated code execution via unescaped theme name
Published Mar 2, 2023 · Updated Mar 5, 2025
Eval injection in affected XWiki Platform releases allows remote attackers to execute server-side scripts through newThemeName. FlamingoThemesCode.WebHomeSheet inserts the newThemeName request value into a translation macro parameter without escaping XWiki syntax, so injected Groovy, Python, or Velocity macros are evaluated. No authentication or user interaction is required; successful exploitation runs code in the server context and permits reading or changing hosted wiki data or interrupting the service.
Summary
What happened
Eval injection in affected XWiki Platform releases allows remote attackers to execute server-side scripts through newThemeName. FlamingoThemesCode.WebHomeSheet inserts the newThemeName request value into a translation macro parameter without escaping XWiki syntax, so injected Groovy, Python, or Velocity macros are evaluated. No authentication or user interaction is required; successful exploitation runs code in the server context and permits reading or changing hosted wiki data or interrupting the service.
The record
- CVE
- CVE-2023-26477
- Published
- Mar 2, 2023
- Updated
- Mar 5, 2025
- Vendor
- CryptPad
- Product
- XWiki Platform
- Classifications
- CWE-95, CWE-94, T1059
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Mar 2, 2023CVE publishedPublication date reported by the CVE source.
- Mar 5, 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=>= 14.0, < 14.4.6
- Affected versionversion=>= 14.5, < 14.9-rc-1
- Affected versionversion=>= 6.2.4, < 13.10.10
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
- XWiki advisory proof-of-concept requestfunctional · 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