Medium

XWiki App Within Minutes app grants space admin rights that allows cross-site scripting

  • Disclosed: 20.04.2023
  • Updated: 11.10.2026 13:19

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

For more information

If you have any questions or comments about this advisory:

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) org.xwiki.platform:xwiki-platform-appwithinminutes >= 4.0-milestone-2, < 4.2-milestone-1 4.2-milestone-1
Java / Kotlin (Maven) org.xwiki.platform:xwiki-platform-appwithinminutes-ui >= 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

References

CVSS score 5.4/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Weakness (CWE)
CWE-79
Platform
Java / Kotlin (Maven)
Package
org.xwiki.platform:xwiki-platform-appwithinminutes, org.xwiki.platform:xwiki-platform-appwithinminutes-ui
Disclosed
20.04.2023
Updated
11.10.2026 13:19

Sources and licenses

OSV / GitHub Advisory Database - GHSA-44h9-xxvx-pg6x - CC BY 4.0

Vulnerability history: org.xwiki.platform:xwiki-platform-appwithinminutes-ui

All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
5
First → latest
04.2023 08.2023
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • Critical 4
  • Medium 1

Disclosures per year

  1. 2023: 5
  2. 2024: 0
  3. 2025: 0
  4. 2026: 0
  1. Critical · 9.9 CVE-2023-40177 >= 4.3-milestone-2, < 14.10.5 14.10.5
  2. Critical · 9.6 CVE-2023-35161 >= 6.2-milestone-1, < 14.10.5, >= 15.0-rc-1, < 15.1-rc-1 14.10.5, 15.1-rc-1
  3. Critical · 9.0 CVE-2023-35153 >= 5.4.4, < 14.4.8, >= 14.5, < 14.10.4, >= 15.0-rc-1, < 15.0 14.4.8, 14.10.4, 15.0
  4. Critical · 9.9 CVE-2023-29527 >= 7.4.4, < 14.10.3 14.10.3
  5. XWiki App Within Minutes app grants space admin rights that allows cross-site scripting this entry
    Medium · 5.4 CVE-2023-29515 >= 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

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.