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-oldcoreDetails
### 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
3.2-milestone-3Fixed in: 14.10.6# pom.xml: bump <version>14.10.6</version> for org.xwiki.platform:xwiki-platform-oldcore15.0-rc-0Fixed in: 15.1-rc-1# pom.xml: bump <version>15.1-rc-1</version> for org.xwiki.platform:xwiki-platform-oldcoreReferences
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-phwm-87rg-27qq[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2023-35157[ADVISORY]
- https://github.com/xwiki/xwiki-platform/commit/35e9073ffec567861e0abeea072bd97921a3decf[WEB]
- https://github.com/xwiki/xwiki-platform[PACKAGE]
- https://jira.xwiki.org/browse/XWIKI-20339[WEB]