{"id":"CVE-2023-37462","published":"2023-07-14T20:39:05Z","modified":"2024-10-30T18:31:34Z","title":"Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') in…","vendor":"xwiki","product":"xwiki-platform","tier":"core","eol":null,"affectedVersions":[{"vendor":"xwiki","product":"xwiki-platform","versions":[">= 7.0-rc-1, < 14.4.8",">= 14.5, < 14.10.4"]}],"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"The flaw is an improper escaping issue in the document SkinsCode.XWikiSkinsSheet within the xwiki-platform product, which is XWiki's generic wiki platform. An attacker with low-privilege authenticated access over the network, and without any user interaction, can open a non-existing page whose name contains a crafted payload, escalating to programming rights that allow execution of script macros such as Groovy and Python for remote code execution with full read and write access to wiki contents.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:53:31Z"},"cvss":{"score":10,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.91592,"percentile":0.99812,"date":"2026-10-29","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2026-09-08","exploitedFirstSeen":"2026-09-08","ransomware":false,"evidence":[{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2026-09-08&host_type=src&vulnerability=cve-2023-37462","date":"2026-09-08"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2026-09-10&host_type=src&vulnerability=cve-2023-37462","date":"2026-09-10"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2026-09-11&host_type=src&vulnerability=cve-2023-37462","date":"2026-09-11"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2026-09-14&host_type=src&vulnerability=cve-2023-37462","date":"2026-09-14"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2026-09-16&host_type=src&vulnerability=cve-2023-37462","date":"2026-09-16"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2026-09-17&host_type=src&vulnerability=cve-2023-37462","date":"2026-09-17"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2026-09-18&host_type=src&vulnerability=cve-2023-37462","date":"2026-09-18"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2026-09-19&host_type=src&vulnerability=cve-2023-37462","date":"2026-09-19"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2026-09-20&host_type=src&vulnerability=cve-2023-37462","date":"2026-09-20"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2026-09-21&host_type=src&vulnerability=cve-2023-37462","date":"2026-09-21"}],"evidenceTotal":24,"provenance":"source"},"exploited":true,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component"},{"id":"CWE-95","name":"Improper Neutralization of Directives in Dynamically Evaluated Code"}],"references":[{"url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-h4vp-69r8-gvjg","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/d9c88ddc4c0c78fa534bd33237e95dea66003d29","tags":["x_refsource_MISC"]},{"url":"https://jira.xwiki.org/browse/XWIKI-20457","tags":["x_refsource_MISC"]}],"techniques":[],"reports":[],"affected":[{"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-skin-ui","vulnerableRanges":[">=7.0-rc-1, <14.4.8",">=14.5, <14.10.4"],"patched":["14.4.8","14.10.4"],"from":["GHSA-h4vp-69r8-gvjg"],"provenance":"source"}],"advisories":[{"id":"GHSA-h4vp-69r8-gvjg","url":"https://github.com/advisories/GHSA-h4vp-69r8-gvjg","severity":"CRITICAL","ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-skin-ui","vulnerableRanges":[">=7.0-rc-1, <14.4.8"],"patched":["14.4.8"],"provenance":"source","from":"GHSA"},{"id":"GHSA-h4vp-69r8-gvjg","url":"https://github.com/advisories/GHSA-h4vp-69r8-gvjg","severity":"CRITICAL","ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-skin-ui","vulnerableRanges":[">=14.5, <14.10.4"],"patched":["14.10.4"],"provenance":"source","from":"GHSA"}],"euvd":{"id":"EUVD-2023-2070","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2023-2070","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":{"nuclei":[{"id":"CVE-2023-37462","name":"XWiki Platform - Remote Code Execution","severity":"high","path":"http/cves/2023/CVE-2023-37462.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2023/CVE-2023-37462.yaml"}],"provenance":"source"},"exploitRefs":[],"flow":[],"timeline":[{"date":"2023-07-14","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2023-37462","provenance":"source"},{"date":"2026-09-08","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2026-09-08&host_type=src&vulnerability=cve-2023-37462","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":null,"daysToKev":null},"priority":{"score":77.0,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":10.0,"detail":"added 52 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.96,"detail":"percentile 0.9981"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 nuclei template"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":7.0,"detail":"base score 10"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}