Vulnerability · Published Apr 18, 2023 · Assigned by GitHub_M

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

High 7.7

In plain English

A high-severity cross-site scripting in xwiki-platform from xwiki. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 47% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.7High
Exploit odds (30 days)0.6%top 52.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavenorg.xwiki.platform:xwiki-platform-appwithinminutes4.2-milestone-1GHSA-44h9-xxvx-pg6x
Mavenorg.xwiki.platform:xwiki-platform-appwithinminutes-ui13.10.11GHSA-44h9-xxvx-pg6x
Mavenorg.xwiki.platform:xwiki-platform-appwithinminutes-ui14.4.8GHSA-44h9-xxvx-pg6x
Mavenorg.xwiki.platform:xwiki-platform-appwithinminutes-ui14.10.1GHSA-44h9-xxvx-pg6x

Affected products (as reported)

VendorProductVersions
xwiki xwiki-platform < 13.10.11>= 14.0.0, < 14.4.8>= 14.5.0, < 14.10.1

Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N

References