CVE-2023-29515: Cross-site scripting (XSS) in xwiki-platform

Published Apr 18, 2023
·
Updated

Impact Any user who can create a space can become admin of that space through App Within Minutes. The admin right implies the script right and thus allows JavaScript injection. The vulnerability can be exploited by creating an app in App Within Minutes. If the button should be disabled because the user doesn't have global edit right, the app can also be created by directly opening /xwiki/bin/view/AppWithinMinutes/CreateApplication?wizard=true on the XWiki installation.

Patches This has been patched in XWiki 13.10.11, 14.4.8, 14.10.1 and 15.0 RC1 by not granting the space admin right if the user doesn't have script right on the space where the app is created. Error message are displayed to warn the user that the app will be broken in this case. Users who became space admin through this vulnerability won't loose the space admin right due to the fix, so it is advised to check if all users who created AWM apps should keep their space admin rights.

Workarounds The patch can be applied by patching the affected wiki documents, the most important one being AppWithinMinutes.LiveTableEditSheet. Further, the attack can be prevented by denying view access to AppWithinMinutes.LiveTableEditSheet. This only impacts creation and editing of App Within Minutes apps.

References

https://jira.xwiki.org/browse/XWIKI-20190 https://github.com/xwiki/xwiki-platform/commit/e73b890623efa604adc484ad82f37e31596fe1a6

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. Any user who can create a space can become admin of that space through App Within Minutes. The admin right implies the script right and thus allows JavaScript injection. The vulnerability can be exploited by creating an app in App Within Minutes. If the button should be disabled because the user doesn't have global edit right, the app can also be created by directly opening /xwiki/bin/view/AppWithinMinutes/CreateApplication?wizard=true on the XWiki installation. This has been patched in XWiki 13.10.11, 14.4.8, 14.10.1 and 15.0 RC1 by not granting the space admin right if the user doesn't have script right on the space where the app is created. Error message are displayed to warn the user that the app will be broken in this case. Users who became space admin through this vulnerability won't loose the space admin right due to the fix, so it is advised to check if all users who created AWM apps should keep their space admin rights. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Affected Software

7 affected componentsFixes available
maven/org.xwiki.platform:xwiki-platform-appwithinminutes-ui>=14.5<14.10.1
14.10.1
maven/org.xwiki.platform:xwiki-platform-appwithinminutes-ui>=14.0-rc-1<14.4.8
14.4.8
maven/org.xwiki.platform:xwiki-platform-appwithinminutes-ui>=4.2-milestone-1<13.10.11
13.10.11
maven/org.xwiki.platform:xwiki-platform-appwithinminutes>=4.0-milestone-2<4.2-milestone-1
4.2-milestone-1
XWiki xwiki<13.10.11
XWiki xwiki>=14.0<14.4.8
XWiki xwiki>=14.5<14.10.1

Event History

Apr 18, 2023
CVE Published
via MITRE·11:50 PM
Data Sourced
via MITRE·11:50 PM
DescriptionSeverityWeakness
Apr 20, 2023
Advisory Published
09:58 PM

Frequently Asked Questions

1

What is CVE-2023-29515?

CVE-2023-29515 is a vulnerability in XWiki Platform which allows any user who can create a space to become the admin of that space, leading to potential JavaScript injection.

2

How does CVE-2023-29515 affect XWiki Platform?

CVE-2023-29515 affects XWiki Platform versions up to 13.10.11 and versions between 14.0 and 14.4.8, allowing users to gain admin privileges and potentially inject JavaScript.

3

What is the severity of CVE-2023-29515?

CVE-2023-29515 has a severity rating of 5.4 (high).

4

How can I fix CVE-2023-29515?

To fix CVE-2023-29515, it is recommended to upgrade XWiki Platform to version 14.10.1 or later.

5

Is there any additional information about CVE-2023-29515?

Yes, you can find additional information about CVE-2023-29515 in the references provided: [GitHub Commit](https://github.com/xwiki/xwiki-platform/commit/e73b890623efa604adc484ad82f37e31596fe1a6), [GitHub Security Advisory](https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-44h9-xxvx-pg6x), [XWiki Jira Issue](https://jira.xwiki.org/browse/XWIKI-20190).

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