Skip to content

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

MediumCVSS 5.4 EPSS 0.85%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

Description

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.

Upgrade path

4 packages: 3 fixed.

PackageAffectedFixed inStatus
org.xwiki.platform/xwiki-platform-appwithinminutes(Maven) >= 4.0-milestone-2, < 4.2-milestone-1 4.2-milestone-1 Fixed
org.xwiki.platform/xwiki-platform-appwithinminutes-ui(Maven) >= 4.2-milestone-1, < 13.10.11; >= 14.0-rc-1, < 14.4.8; >= 14.5, < 14.10.1 13.10.11, 14.4.8, 14.10.1 Fixed
xwiki < 13.10.11; >= 14.0, < 14.4.8; >= 14.5, < 14.10.1 13.10.11, 14.4.8, 14.10.1 Fixed
xwiki-platform = < 13.10.11; = >= 14.0.0, < 14.4.8; = >= 14.5.0, < 14.10.1 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
org.xwiki.platform/xwiki-platform-appwithinminutes(Maven) >= 4.0-milestone-2, < 4.2-milestone-1 4.2-milestone-1
org.xwiki.platform/xwiki-platform-appwithinminutes-ui(Maven) >= 4.2-milestone-1, < 13.10.11 13.10.11
org.xwiki.platform/xwiki-platform-appwithinminutes-ui(Maven) >= 14.0-rc-1, < 14.4.8 14.4.8
org.xwiki.platform/xwiki-platform-appwithinminutes-ui(Maven) >= 14.5, < 14.10.1 14.10.1
xwiki-platform = < 13.10.11 No fix listed
xwiki-platform = >= 14.0.0, < 14.4.8 No fix listed
xwiki-platform = >= 14.5.0, < 14.10.1 No fix listed
xwiki < 13.10.11 13.10.11
xwiki >= 14.0, < 14.4.8 14.4.8
xwiki >= 14.5, < 14.10.1 14.10.1

References