# CVE-2023-37908: org.xwiki.rendering:xwiki-rendering-xml Improper Neutralization of Invalid Characters in Identifiers in Web Pages vulnerability

- Severity: Critical 9.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/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): 1.11%, higher than 66% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 3 links below, marked "exploit"
- Published: 2023-10-25T16:53:25.679Z
- Modified: 2026-06-17T06:08:52.760Z
- Also known as: GHSA-663w-2xp3-5739
- Weaknesses: CWE-79, CWE-83, CWE-86
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

XWiki Rendering is a generic Rendering system that converts textual input in a given syntax into another syntax. The cleaning of attributes during XHTML rendering, introduced in version 14.6-rc-1, allowed the injection of arbitrary HTML code and thus cross-site scripting via invalid attribute names. This can be exploited, e.g., via the link syntax in any content that supports XWiki syntax like comments in XWiki. When a user moves the mouse over a malicious link, the malicious JavaScript code is executed in the context of the user session. When this user is a privileged user who has programming rights, this allows server-side code execution with programming rights, impacting the confidentiality, integrity and availability of the XWiki instance. While this attribute was correctly recognized as not allowed, the attribute was still printed with a prefix `data-xwiki-translated-attribute-` without further cleaning or validation. This problem has been patched in XWiki 14.10.4 and 15.0 RC1 by removing characters not allowed in data attributes and then validating the cleaned attribute again. There are no known workarounds apart from upgrading to a version including the fix.

(As written by CVE List.)

## Affected

- xwiki xwiki-rendering: >= 14.6-rc-1, < 14.10.4; from 14.6 before 14.10.4
- org.xwiki.rendering:xwiki-rendering-xml (Maven): from 14.6-rc-1 before 14.10.4

## Every score

- GitHub_M: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.6 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.6 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`

## References

- <https://github.com/xwiki/xwiki-rendering/security/advisories/GHSA-663w-2xp3-5739> (exploit, patch, vendor-advisory, web)
- <https://github.com/xwiki/xwiki-rendering/security/advisories/GHSA-6gf5-c898-7rxp> (exploit, patch, vendor-advisory, web)
- <https://jira.xwiki.org/browse/XRENDERING-697> (exploit, issue-tracking, vendor-advisory, web)
- <https://github.com/xwiki/xwiki-rendering/commit/f4d5acac451dccaf276e69f0b49b72221eef5d2f> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-37908> (advisory)
- <https://github.com/xwiki/xwiki-rendering> (package)

## Sources

- CVE List: [CVE-2023-37908](https://www.cve.org/CVERecord?id=CVE-2023-37908), CVE Terms of Use, modified 2024-09-17
- GitHub Advisory Database: [GHSA-663w-2xp3-5739](https://github.com/advisories/GHSA-663w-2xp3-5739), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2023-37908](https://nvd.nist.gov/vuln/detail/CVE-2023-37908), Public domain, modified 2026-06-17

---

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