CVE-2023-35157: XWiki Platform vulnerable to reflected cross-site scripting via delattachment action

Published Jun 22, 2023
·
Updated

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

Other sources

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. 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. The vulnerability has been patched in XWiki 15.1-rc-1 and XWiki 14.10.6.

Affected Software

4 affected componentsFixes available
maven/org.xwiki.platform:xwiki-platform-oldcore>=15.0-rc-0<15.1-rc-1
15.1-rc-1
maven/org.xwiki.platform:xwiki-platform-oldcore>=3.2-milestone-3<14.10.6
14.10.6
XWiki xwiki<14.10.6
XWiki xwiki=15.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade maven/org.xwiki.platform:xwiki-platform-oldcore to a version that resolves this vulnerability.

    Fixed in 15.1-rc-1
  2. Upgrade

    Upgrade maven/org.xwiki.platform:xwiki-platform-oldcore to a version that resolves this vulnerability.

    Fixed in 14.10.6
  3. Upgrade

    Upgrade XWiki Platform to a version that resolves this vulnerability.

    Fixed in 15.1-rc-1
  4. Upgrade

    Upgrade XWiki Platform to a version that resolves this vulnerability.

    Fixed in 14.10.6

Event History

Jun 22, 2023
Advisory Published
07:59 PM
Jun 23, 2023
CVE Published
via MITRE·06:22 PM
Data Sourced
via MITRE·06:22 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is CVE-2023-35157?

CVE-2023-35157 is a vulnerability in XWiki Platform, a generic wiki platform, that allows for cross-site scripting (XSS) attacks by forging a request to delete an attachment with a specific name.

2

What is the severity of CVE-2023-35157?

CVE-2023-35157 has a severity rating of high (4.8).

3

How can CVE-2023-35157 be exploited?

CVE-2023-35157 can only be exploited if the attacker knows the CSRF token of the target XWiki Platform instance.

4

Which versions of XWiki Platform are affected by CVE-2023-35157?

XWiki Platform versions up to 14.10.6 and version 15.0 are affected by CVE-2023-35157.

5

Is there a fix for CVE-2023-35157?

Yes, a fix for CVE-2023-35157 is available in the XWiki Platform commit 35e9073ffec567861e0abeea072bd97921a3decf.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203