# XWiki allows Reflected XSS in two templates

Advisory record · `GHSA-m9x4-w7p9-mxhx`

- **Identifiers:** `GHSA-m9x4-w7p9-mxhx` · `CVE-2025-32430`
- **State:** Confirmed
- **Severity:** CVSS 6.5 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-79](https://cwe.mitre.org/data/definitions/79.html)
- **Tags:** [Cross-site scripting (XSS)](https://agentprime.io/advisories/tag/xss.md)
- **Published:** 5 Aug 2025
- **Updated:** 10 Sept 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 5 Aug 2025, 15:32 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `org.xwiki.platform:xwiki-platform-web-templates` (Maven): affected `>=4.2-milestone-3, <16.4.8 || >=16.5.0-rc-1, <16.10.6 || >=17.0.0-rc-1, <17.3.0-rc-1`; fixed in `16.4.8`, `16.10.6`, `17.3.0-rc-1`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Reflected cross-site scripting in two templates of the Maven package org.xwiki.platform:xwiki-platform-web-templates affects versions from 4.2-milestone-3 up to 16.4.8, from 16.5.0-rc-1 up to 16.10.6, and from 17.0.0-rc-1 up to 17.3.0-rc-1. An attacker can get a victim to visit a crafted URL, running JavaScript in the victim's session and acting with the victim's permissions, including admin rights. Upgrade to 16.4.8, 16.10.6 or 17.3.0-rc-1, depending on your release line.

Written 2 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 6.5 Medium, CVSS 4.0: `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H`, from CNA (GitHub_M)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0071, the 54th percentile, on 13 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 14:17 UTC: First seen by agentprime
- 31 Oct 2026, 14:17 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-m9x4-w7p9-mxhx)

## Sources

- [GitHub Advisory Database: GHSA-m9x4-w7p9-mxhx](https://github.com/advisories/GHSA-m9x4-w7p9-mxhx)
- [OSV: GHSA-m9x4-w7p9-mxhx](https://osv.dev/vulnerability/GHSA-m9x4-w7p9-mxhx)
- <https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-m9x4-w7p9-mxhx>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-32430>
- <https://github.com/xwiki/xwiki-platform/commit/e5926a938cbecc8b1eaa48053d8d370cff107cb0>
- <https://github.com/xwiki/xwiki-platform>
- <https://jira.xwiki.org/browse/XWIKI-23096>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-m9x4-w7p9-mxhx>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-m9x4-w7p9-mxhx/>. Everything for agents: <https://agentprime.io/llms.txt>.
