GHSA-7vpr-jm38-wr7w
XWiki vulnerable to a reflected XSS via xredirect parameter in DeleteApplication
At a glance
- Published
- Updated
- CVE
- CVE-2025-66472
- CVSS_V4
- 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
Description
### 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](https://github.com/xwiki/xwiki-platform/commit/cb578b1b2910d06e9dd7581077072d1cfbd280f2) 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.
Affected packages
| Package | Versions |
|---|---|
| Maven · org.xwiki.platform:xwiki-platform-flamingo-skin-resources | introduced 6.2-milestone-1, fixed 16.10.10 |
| Maven · org.xwiki.platform:xwiki-platform-flamingo-skin-resources | introduced 17.0.0-rc-1, fixed 17.4.2 |
| Maven · org.xwiki.platform:xwiki-platform-web-templates | introduced 6.2-milestone-1, fixed 16.10.10 |
| Maven · org.xwiki.platform:xwiki-platform-web-templates | introduced 17.0.0-rc-1, fixed 17.4.2 |
References
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-7vpr-jm38-wr7w WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-66472 ADVISORY
- https://github.com/xwiki/xwiki-platform/commit/cb578b1b2910d06e9dd7581077072d1cfbd280f2 WEB
- https://github.com/xwiki/xwiki-platform PACKAGE
- https://jira.xwiki.org/browse/XWIKI-23244 WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — GitHub Advisory Database |