CVE-2025-66472: XWiki vulnerable to a reflected XSS via xredirect parameter in DeleteApplication
Impact A reflected XSS vulnerability in XWiki allows an attacker to send a victim to a URL with a deletion confirmation message on which the attacker-supplied script is executed when the victim clicks the "No" button. When the victim has admin or programming right, this allows the attacker to execute basically arbitrary actions on the XWiki installation including remote code execution.
Published Dec 10, 2025 · Updated Dec 11, 2025
Affected packages
org.xwiki.platform:xwiki-platform-flamingo-skin-resources
- Ecosystem
- Maven
- Affected
- >= 6.2-milestone-1, < 16.10.10
- Fixed in
- 16.10.10
- Check
mvn dependency:tree -Dincludes=org.xwiki.platform:xwiki-platform-flamingo-skin-resources
org.xwiki.platform:xwiki-platform-flamingo-skin-resources
- Ecosystem
- Maven
- Affected
- >= 17.0.0-rc-1, < 17.4.2
- Fixed in
- 17.4.2
- Check
mvn dependency:tree -Dincludes=org.xwiki.platform:xwiki-platform-flamingo-skin-resources
org.xwiki.platform:xwiki-platform-web-templates
- Ecosystem
- Maven
- Affected
- >= 6.2-milestone-1, < 16.10.10
- Fixed in
- 16.10.10
- 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.4.2
- Fixed in
- 17.4.2
- Check
mvn dependency:tree -Dincludes=org.xwiki.platform:xwiki-platform-web-templates
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Impact
A reflected XSS vulnerability in XWiki allows an attacker to send a victim to a URL with a deletion confirmation message on which the attacker-supplied script is executed when the victim clicks the "No" button. When the victim has admin or programming right, this allows the attacker to execute basically arbitrary actions on the XWiki installation including remote code execution.
Patches
This vulnerability has been patched in XWiki 16.10.10, 17.4.2 and 17.5.0 by using the affected URL parameter only in the intended context.
Workarounds
The patch can be manually applied to the templates that are present in the WAR. A restart of XWiki is needed for the changes to be applied.
Credited to 4rdr.
References
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-7vpr-jm38-wr7w
- https://github.com/xwiki/xwiki-platform/commit/cb578b1b2910d06e9dd7581077072d1cfbd280f2
- https://jira.xwiki.org/browse/XWIKI-23244
- https://nvd.nist.gov/vuln/detail/CVE-2025-66472
- https://github.com/advisories/GHSA-7vpr-jm38-wr7w
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-32430
XWiki allows Reflected XSS in two templates
medium5.3Aug 5, 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
