Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.xwiki.platform/xwiki-platform-invitation-ui
  4. ›
  5. CVE-2023-37914

CVE-2023-37914: Improper Control of Generation of Code ('Code Injection')

August 18, 2023

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Any user who can view Invitation.WebHome can execute arbitrary script macros including Groovy and Python macros that allow remote code execution including unrestricted read and write access to all wiki contents. This vulnerability has been patched on XWiki 14.4.8, 15.2-rc-1, and 14.10.6. Users are advised to upgrade. Users unable to upgrade may manually apply the patch on Invitation.InvitationCommon and Invitation.InvitationConfig, but there are otherwise no known workarounds for this vulnerability.

References

  • github.com/advisories/GHSA-7954-6m9q-gpvf
  • github.com/xwiki/xwiki-platform/commit/ff1d8a1790c6ee534c6a4478360a06efeb2d3591
  • github.com/xwiki/xwiki-platform/security/advisories/GHSA-7954-6m9q-gpvf
  • jira.xwiki.org/browse/XWIKI-20421
  • nvd.nist.gov/vuln/detail/CVE-2023-37914

Code Behaviors & Features

Detect and mitigate CVE-2023-37914 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.5-m-1 before 14.4.8, all versions starting from 14.5 before 14.10.6, all versions starting from 15.0-rc-1 before 15.2-rc-1

Fixed versions

  • 14.4.8
  • 14.10.6
  • 15.2-rc-1

Solution

Upgrade to versions 14.4.8, 14.10.6, 15.2-rc-1 or above. *Note*: 15.2-rc-1 may be an unstable version. Use caution.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

maven/org.xwiki.platform/xwiki-platform-invitation-ui/CVE-2023-37914.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:42 +0000.