ADVISORIES

GitHub Advisory Database

GHSA-phwm-87rg-27qq

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

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:

Affected packages

EcosystemPackageAffected versions
Mavenorg.xwiki.platform:xwiki-platform-oldcore
From 3.2-milestone-3 before 14.10.6 (fixed in 14.10.6)
Mavenorg.xwiki.platform:xwiki-platform-oldcore
From 15.0-rc-0 before 15.1-rc-1 (fixed in 15.1-rc-1)

References