xwiki/xwiki-platform · Security
XWiki Platform vulnerable to reflected cross-site scripting via delattachment action
- GHSA ID
- GHSA-phwm-87rg-27qq
- CVE ID
- CVE-2023-35157
- Severity
- high
- Published
- Updated
- CVSS
- 8.4 · CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H
- CVSS v3
- 8.4 · CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H
Description
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
- Email us at Security Mailing List
CWEs
- CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
- CWE-80 · Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)
References
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-phwm-87rg-27qq ↗
- https://github.com/xwiki/xwiki-platform/commit/35e9073ffec567861e0abeea072bd97921a3decf ↗
- https://jira.xwiki.org/browse/XWIKI-20339 ↗
- https://nvd.nist.gov/vuln/detail/CVE-2023-35157 ↗
- https://github.com/advisories/GHSA-phwm-87rg-27qq ↗