{"id":"CVE-2025-32430","aliases":["CVE-2025-32430","GHSA-m9x4-w7p9-mxhx"],"related":[],"kind":"vulnerability","state":"published","title":"XWiki Platform contains Reflected XSS vulnerability in two templates","summary":"XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. In versions 4.2-milestone-3 through 16.4.7, 16.5.0-rc-1 through 16.10.5 and 17.0.0-rc-1 through 17.2.2, two templates contain reflected XSS vulnerabilities, allowing an attacker to execute malicious JavaScript code in the context of the victim's session by getting the victim to visit an attacker-controlled URL. This permits the attacker to perform arbitrary actions using the permissions of the victim. This issue is fixed in versions 16.4.8, 16.10.6 and 17.3.0-rc-1. To workaround the issue, manually patch the WAR with the same changes as the original patch.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. In versions 4.2-milestone-3 through 16.4.7, 16.5.0-rc-1 through 16.10.5 and 17.0.0-rc-1 through 17.2.2, two templates contain reflected XSS vulnerabilities, allowing an attacker to execute malicious JavaScript code in the context of the victim's session by getting the victim to visit an attacker-controlled URL. This permits the attacker to perform arbitrary actions using the permissions of the victim. This issue is fixed in versions 16.4.8, 16.10.6 and 17.3.0-rc-1. To workaround the issue, manually patch the WAR with the same changes as the original patch.","source":"cvelist"},{"lang":"en","text":"### Impact\nReflected XSS vulnerabilities in two templates allow an attacker to execute malicious JavaScript code in the context of the victim's session by getting the victim to visit an attacker-controlled URL. PoC URLs are `/xwiki/bin/view/Main/?xpage=job_status_json&jobId=asdf&translationPrefix=<img src=1 onerror=alert(document.domain)>` and `/xwiki/bin/view/Main/?xpage=distribution&extensionId=%3Cimg src=x onerror=alert(document.domain)%3E&extensionVersionConstraint=%3Cimg src=x onerror=alert(document.domain)%3E`. This allows the attacker to perform arbitrary actions using the permissions of the victim.\n\n### Patches\nThe problem has been patched in XWiki 16.4.8, 16.10.6 and 17.3.0RC1 by adding escaping in the affected templates.\n\n### Workarounds\nThe affected templates can be patched manually in the WAR by applying the same changes as in [the patch](https://github.com/xwiki/xwiki-platform/commit/e5926a938cbecc8b1eaa48053d8d370cff107cb0).\n\n### Attribution\n\nThe vulnerability involving `job_status_json` has been reported as \"Unauth Reflected XSS\" vulnerability by Aleksey Solovev (Positive Technologies), and the vulnerability involving `distribution` has been reported as \"Auth Admin Reflected XSS\" vulnerability by Evgeny Kopytin (Positive Technologies). According to our analysis, both vulnerabilities can be exploited against both unauthenticated and authenticated victims (including victims with admin privileges) which is why we publish them together in this advisory.","format":"markdown","source":"ghsa"},{"lang":"es","text":"XWiki Platform es una plataforma wiki genérica que ofrece servicios de ejecución para aplicaciones desarrolladas sobre ella. En las versiones 4.2-milestone-3 a 16.4.7, 16.5.0-rc-1 a 16.10.5 y 17.0.0-rc-1 a 17.2.2, dos plantillas contienen vulnerabilidades XSS reflejado, lo que permite a un atacante ejecutar código JavaScript malicioso en la sesión de la víctima al obligarla a visitar una URL controlada por el atacante. Esto permite al atacante realizar acciones arbitrarias utilizando los permisos de la víctima. Este problema se ha corregido en las versiones 16.4.8, 16.10.6 y 17.3.0-rc-1. Para solucionarlo, parchee manualmente el WAR con los mismos cambios que el parche original.","source":"nvd"}],"published":"2025-08-05T15:32:56.000Z","modified":"2026-09-10T03:50:27.339Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":6.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":">= 4.2-milestone-3, < 16.4.8","status":"affected"},{"version":">= 16.5.0-rc-1, < 16.10.6","status":"affected"},{"version":">= 17.0.0-rc-1, < 17.3.0-rc-1","status":"affected"}],"vendor":"xwiki","product":"xwiki-platform","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"4.2-milestone-3","status":"affected","fixed":"16.4.8"}],"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-web-templates","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-web-templates","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"16.5.0-rc-1","status":"affected","fixed":"16.10.6"}],"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-web-templates","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-web-templates","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"17.0.0-rc-1","status":"affected","fixed":"17.3.0-rc-1"}],"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-web-templates","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-web-templates","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"4.3","fixed":"16.4.8"},{"status":"affected","introduced":"16.5.0","fixed":"16.10.6"},{"status":"affected","introduced":"17.0.0","lastAffected":"17.2.2"},{"status":"affected","version":"4.2"},{"status":"affected","version":"16.5.0"}],"vendor":"xwiki","product":"xwiki","cpe":"cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-m9x4-w7p9-mxhx","tags":["exploit","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/e5926a938cbecc8b1eaa48053d8d370cff107cb0","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://jira.xwiki.org/browse/XWIKI-23096","tags":["exploit","vendor-advisory","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-32430","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/xwiki/xwiki-platform","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2025-08-06T20:26:53.478Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-32430","url":"https://www.cve.org/CVERecord?id=CVE-2025-32430","licence":"CVE Terms of Use","modified":"2025-08-06T20:27:07.444Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-m9x4-w7p9-mxhx","url":"https://github.com/advisories/GHSA-m9x4-w7p9-mxhx","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:27.339Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-32430","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-32430","licence":"Public domain","modified":"2026-06-17T09:11:58.763Z"}],"updatedAt":"2026-11-25T22:59:02.071Z","epss":{"score":0.00708,"percentile":0.54683,"date":"2026-12-01T12:00:22.000Z"}}