VDB
Sign up
MEDIUM6.5

GHSA-7vpr-jm38-wr7w

XWiki vulnerable to a reflected XSS via xredirect parameter in DeleteApplication

Quick fix

GHSA-7vpr-jm38-wr7w — org.xwiki.platform:xwiki-platform-flamingo-skin-resources: upgrade to the fixed version with the command below.

# pom.xml: bump <version>16.10.10</version> for org.xwiki.platform:xwiki-platform-flamingo-skin-resources

Details

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

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.xwiki.platform:xwiki-platform-flamingo-skin-resources
Introduced in: 6.2-milestone-1Fixed in: 16.10.10
Fix# pom.xml: bump <version>16.10.10</version> for org.xwiki.platform:xwiki-platform-flamingo-skin-resources
Maven/org.xwiki.platform:xwiki-platform-flamingo-skin-resources
Introduced in: 17.0.0-rc-1Fixed in: 17.4.2
Fix# pom.xml: bump <version>17.4.2</version> for org.xwiki.platform:xwiki-platform-flamingo-skin-resources
Maven/org.xwiki.platform:xwiki-platform-web-templates
Introduced in: 6.2-milestone-1Fixed in: 16.10.10
Fix# pom.xml: bump <version>16.10.10</version> for org.xwiki.platform:xwiki-platform-web-templates
Maven/org.xwiki.platform:xwiki-platform-web-templates
Introduced in: 17.0.0-rc-1Fixed in: 17.4.2
Fix# pom.xml: bump <version>17.4.2</version> for org.xwiki.platform:xwiki-platform-web-templates

References