# CVE-2023-29528: Cross-site Scripting in org.xwiki.commons:xwiki-commons-xml

- 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.28%, higher than 70% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-04-20T17:08:50.083Z
- Modified: 2026-09-10T03:50:01.248Z
- Also known as: GHSA-x37v-36wv-6v6h
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

XWiki Commons are technical libraries common to several other top level XWiki projects. The "restricted" mode of the HTML cleaner in XWiki, introduced in version 4.2-milestone-1 and massively improved in version 14.6-rc-1, allowed the injection of arbitrary HTML code and thus cross-site scripting via invalid HTML comments. As a consequence, any code relying on this "restricted" mode for security is vulnerable to JavaScript injection ("cross-site scripting"/XSS). When a privileged user with programming rights visits such a comment in XWiki, the malicious JavaScript code is executed in the context of the user session. This allows server-side code execution with programming rights, impacting the confidentiality, integrity and availability of the XWiki instance. This problem has been patched in XWiki 14.10, HTML comments are now removed in restricted mode and a check has been introduced that ensures that comments don't start with `>`. There are no known workarounds apart from upgrading to a version including the fix.

(As written by CVE List.)

## Affected

- xwiki xwiki-commons: >= 4.2-milestone-1, < 14.10
- org.xwiki.commons:xwiki-commons-xml (Maven): from 4.2-milestone-1 before 14.10
- xwiki commons: from 4.3 before 14.10; 4.2

## 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.0 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.0 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H`

## References

- <https://jira.xwiki.org/browse/XWIKI-20348> (exploit, vendor-advisory, web)
- <https://github.com/xwiki/xwiki-commons/security/advisories/GHSA-x37v-36wv-6v6h> (vendor-advisory, web)
- <https://github.com/xwiki/xwiki-commons/commit/8ff1a9d7e5d7b45b690134a537d53dc05cae04ab> (patch, web)
- <https://jira.xwiki.org/browse/XCOMMONS-2568> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-29528> (advisory)
- <https://github.com/xwiki/xwiki-commons> (package)

## Sources

- CVE List: [CVE-2023-29528](https://www.cve.org/CVERecord?id=CVE-2023-29528), CVE Terms of Use, modified 2025-02-04
- GitHub Advisory Database: [GHSA-x37v-36wv-6v6h](https://github.com/advisories/GHSA-x37v-36wv-6v6h), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2023-29528](https://nvd.nist.gov/vuln/detail/CVE-2023-29528), Public domain, modified 2026-06-17

---

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