VDB
Sign up
HIGH8.4

GHSA-phwm-87rg-27qq

XWiki Platform vulnerable to reflected cross-site scripting via delattachment action

Quick fix

GHSA-phwm-87rg-27qq — org.xwiki.platform:xwiki-platform-oldcore: upgrade to the fixed version with the command below.

# pom.xml: bump <version>14.10.6</version> for org.xwiki.platform:xwiki-platform-oldcore

Details

### Impact It's possible to perform an XSS by forging a request to a delete attachment action with a specific attachment name. Now this XSS can be exploited only if the attacker knows the CSRF token of the user, or if the user ignores the warning about the missing CSRF token.

### Patches

The vulnerability has been patched in XWiki 15.1-rc-1 and XWiki 14.10.6.

### Workarounds

There's no workaround for this other than upgrading XWiki.

### References

* Jira ticket: https://jira.xwiki.org/browse/XWIKI-20339 * Commit containing the fix: https://github.com/xwiki/xwiki-platform/commit/35e9073ffec567861e0abeea072bd97921a3decf

### For more information

If you have any questions or comments about this advisory: * Open an issue in [Jira XWiki.org](https://jira.xwiki.org/) * Email us at [Security Mailing List](mailto:security@xwiki.org)

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.xwiki.platform:xwiki-platform-oldcore
Introduced in: 3.2-milestone-3Fixed in: 14.10.6
Fix# pom.xml: bump <version>14.10.6</version> for org.xwiki.platform:xwiki-platform-oldcore
Maven/org.xwiki.platform:xwiki-platform-oldcore
Introduced in: 15.0-rc-0Fixed in: 15.1-rc-1
Fix# pom.xml: bump <version>15.1-rc-1</version> for org.xwiki.platform:xwiki-platform-oldcore

References