# CVE-2023-37462: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') in org.xwiki.platform:xwiki-platform-skin-ui

- Severity: Critical 10.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 91.6%, higher than 99% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2023-07-14T20:39:05.941Z
- Modified: 2026-06-17T06:08:16.020Z
- Also known as: GHSA-h4vp-69r8-gvjg
- Weaknesses: CWE-74, CWE-95
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- xwiki xwiki-platform: >= 7.0-rc-1, < 14.4.8; >= 14.5, < 14.10.4
- org.xwiki.platform:xwiki-platform-skin-ui (Maven): from 7.0-rc-1 before 14.4.8; from 14.5 before 14.10.4
- xwiki xwiki: from 7.0 before 14.4.8; from 14.5 before 14.10.4

## Every score

- GitHub_M: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.9 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-h4vp-69r8-gvjg> (exploit, issue-tracking, patch, vendor-advisory, web)
- <https://jira.xwiki.org/browse/XWIKI-20457> (exploit, issue-tracking, vendor-advisory, web)
- <https://github.com/xwiki/xwiki-platform/commit/d9c88ddc4c0c78fa534bd33237e95dea66003d29> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-37462> (advisory)
- <https://github.com/xwiki/xwiki-platform> (package)

## Sources

- CVE List: [CVE-2023-37462](https://www.cve.org/CVERecord?id=CVE-2023-37462), CVE Terms of Use, modified 2024-10-30
- GitHub Advisory Database: [GHSA-h4vp-69r8-gvjg](https://github.com/advisories/GHSA-h4vp-69r8-gvjg), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2023-37462](https://nvd.nist.gov/vuln/detail/CVE-2023-37462), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-37462 · Whole record: https://cve.day/CVE-2023-37462.json · Rebuilt by cve.day 2026-11-25T22:58:25.808Z
