# CVE-2023-37462: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') in org.xwiki.platform:xwiki-platform-skin-ui - Exploited (CISA KEV): no - Published: 2023-07-14 - CVSS: 10 CRITICAL (v3.1) - EPSS: 91.6% (100th percentile) - CWE: CWE-74, CWE-95 XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Improper escaping in the document `SkinsCode.XWikiSkinsSheet` leads to an injection vector from view right on that document to programming rights, or in other words, it is possible to execute arbitrary script macros including Groovy and Python macros that allow remote code execution including unrestricted read and write access to all wiki contents. The attack works by opening a non-existing page with a name crafted to contain a dangerous payload. It is possible to check if an existing installation is vulnerable. See the linked GHSA for instructions on testing an installation. This issue has been patched in XWiki 14.4.8, 14.10.4 and 15.0-rc-1. Users are advised to upgrade. The fix commit `d9c88ddc` can also be applied manually to the impacted document `SkinsCode.XWikiSkinsSheet` and users unable to upgrade are advised to manually patch their installations. ## Edge WAF coverage (claimed by vendors, not measured) | Vendor | Status | First rule | Days after publication | |---|---|---|---| | Cloudflare | Before feed history | — | — | | AWS | No public claim | — | — | | Microsoft Azure | No public claim | — | — | | Google Cloud | Before feed history | — | — | | Fastly | Before feed history | — | — | | F5 | Rule published | 2023-12-12 | 151 | | Akamai | No public source | — | — | | OWASP CRS | No public claim | — | — | ### F5 - 2023-12-12 · new · rule 200104869 > Added: signature 200104869 "XWiki Arbitrary Code Injection" (Server Side Code Injection, risk High), systems: Java Servlets/JSP, Apache Tomcat. References: CVE-2023-37462. Source: https://docs.cloud.f5.com/docs-v2/platform/changelogs/security-details-changelog - 2024-03-12 · updated · rule 200104869 > Updated: signature 200104869 "XWiki Arbitrary Code Injection" (Server Side Code Injection, risk High), systems: Java Servlets/JSP, Apache Tomcat. References: CVE-2023-37462. Source: https://docs.cloud.f5.com/docs-v2/platform/changelogs/security-details-changelog - 2024-05-21 · updated · rule 200104869 > Updated: signature 200104869 "XWiki Arbitrary Code Injection" (Server Side Code Injection, risk High), systems: Java Servlets/JSP, Apache Tomcat. References: CVE-2023-37462. Source: https://docs.cloud.f5.com/docs-v2/platform/changelogs/security-details-changelog ## Our test (measured) - OWASP Core Rule Set 4.25.0, paranoia level 1, anomaly threshold 5, default CRS settings: passed (0 of 2 requests blocked), template CVE-2023-37462, 2026-11-02 - OWASP Core Rule Set 4.25.0, paranoia level 2, anomaly threshold 5, default CRS settings: partial (1 of 2 requests blocked), template CVE-2023-37462, 2026-11-02 "No public claim" means no vendor statement names this CVE; "Before feed history" means the CVE is older than the vendor feed. In both cases generic rules may still block it. HTML: https://cve.vigilbase.com/cve/CVE-2023-37462 · JSON: https://cve.vigilbase.com/api/v1/cves/CVE-2023-37462