CVE-2025-32430: XWiki allows Reflected XSS in two templates
Impact Reflected 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=jobstatusjson&jobId=asdf&translationPrefix= and /xwiki/bin/view/Main/?xpage=distribution&extensionId=%3Cimg src=x…
Published Aug 5, 2025 · Updated Aug 6, 2025
Affected packages
org.xwiki.platform:xwiki-platform-web-templates
- Ecosystem
- Maven
- Affected
- >= 4.2-milestone-3, < 16.4.8
- Fixed in
- 16.4.8
- Check
mvn dependency:tree -Dincludes=org.xwiki.platform:xwiki-platform-web-templates
org.xwiki.platform:xwiki-platform-web-templates
- Ecosystem
- Maven
- Affected
- >= 16.5.0-rc-1, < 16.10.6
- Fixed in
- 16.10.6
- Check
mvn dependency:tree -Dincludes=org.xwiki.platform:xwiki-platform-web-templates
org.xwiki.platform:xwiki-platform-web-templates
- Ecosystem
- Maven
- Affected
- >= 17.0.0-rc-1, < 17.3.0-rc-1
- Fixed in
- 17.3.0-rc-1
- Check
mvn dependency:tree -Dincludes=org.xwiki.platform:xwiki-platform-web-templates
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Impact
Reflected 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= 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.
Patches
The problem has been patched in XWiki 16.4.8, 16.10.6 and 17.3.0RC1 by adding escaping in the affected templates.
Workarounds
The affected templates can be patched manually in the WAR by applying the same changes as in the patch.
Attribution
The 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.
References
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-m9x4-w7p9-mxhx
- https://github.com/xwiki/xwiki-platform/commit/e5926a938cbecc8b1eaa48053d8d370cff107cb0
- https://jira.xwiki.org/browse/XWIKI-23096
- https://nvd.nist.gov/vuln/detail/CVE-2025-32430
- https://github.com/advisories/GHSA-m9x4-w7p9-mxhx
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Maven vulnerabilities
All Maven entriesCVE-2026-40105
XWiki has Reflected Cross-Site Scripting (XSS) in page history compare
medium6.1Apr 14, 2026CVE-2026-24128
XWiki Affected by Reflected Cross-Site Scripting (XSS) in Error Messages
medium6.5Jan 23, 2026CVE-2025-66472
XWiki vulnerable to a reflected XSS via xredirect parameter in DeleteApplication
medium6.5Dec 10, 2025CVE-2024-43401
In XWiki Platform, payloads stored in content is executed when a user with script/programming right edit them
critical9.0Aug 19, 2024CVE-2024-41947
XWiki Platform vulnerable to Cross-Site Scripting (XSS) through conflict resolution
critical9.0Jul 31, 2024
