NetSight
medium6.5

CVE-2025-66472

XWiki vulnerable to a reflected XSS via xredirect parameter in DeleteApplication

Impact

### 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

EcosystemPackageAffectedFixed in
mavenorg.xwiki.platform:xwiki-platform-flamingo-skin-resources>= 6.2-milestone-1, < 16.10.1016.10.10
mavenorg.xwiki.platform:xwiki-platform-web-templates>= 6.2-milestone-1, < 16.10.1016.10.10

Affected products

VendorProductAffected versions
XwikiXwiki
from 6.2 before 16.10.10
from 17.0.0 before 17.4.2

Weakness classification

References