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.
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.
Other sources
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Versions 6.2-milestone-1 through 16.10.9 and 17.0.0-rc-1 through 17.4.1 of both XWiki Platform Flamingo Skin Resources and XWiki Platform Web Templates are vulnerable to a reflected XSS attack through a deletion confirmation message. The attacker-supplied script is executed when the victim clicks the "No" button. This issue is fixed in versions 16.10.10 and 17.4.2 of both XWiki Platform Flamingo Skin Resources and XWiki Platform Web Templates.
— MITRE
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2025-66472?
CVE-2025-66472 is a reflected XSS vulnerability that can potentially lead to unauthorized script execution.
How do I fix CVE-2025-66472?
To mitigate CVE-2025-66472, upgrade to version 17.4.2 or 16.10.10 of the affected packages.
What are the affected packages for CVE-2025-66472?
CVE-2025-66472 affects the org.xwiki.platform:xwiki-platform-web-templates and org.xwiki.platform:xwiki-platform-flamingo-skin-resources packages in specific versions.
What types of attacks can CVE-2025-66472 facilitate?
CVE-2025-66472 can facilitate a reflected XSS attack where an attacker can execute arbitrary scripts in the context of a victim's session.
Who is impacted by CVE-2025-66472?
Users with admin or programming rights in XWiki are particularly vulnerable to the exploits associated with CVE-2025-66472.