Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.xwiki.platform/xwiki-platform-administration-ui
  4. ›
  5. CVE-2022-23616

CVE-2022-23616: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

February 9, 2022 (updated February 11, 2022)

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. In affected versions it’s possible for an unprivileged user to perform a remote code execution by injecting a groovy script in her own profile and by calling the Reset password feature since the feature is performing a save of the user profile with programming rights in the impacted versions of XWiki. The issue has been patched in XWiki 13.1RC1. There are two different possible workarounds, each consisting of modifying the XWiki/ResetPassword page. 1. The Reset password feature can be entirely disabled by deleting the XWiki/ResetPassword page. 2. The script in XWiki/ResetPassword can also be modified or removed: an administrator can replace it with a simple email contact to ask an administrator to reset the password.

References

  • github.com/advisories/GHSA-mgjw-2wrp-r535
  • github.com/xwiki/xwiki-platform/security/advisories/GHSA-mgjw-2wrp-r535
  • jira.xwiki.org/browse/XWIKI-16661
  • nvd.nist.gov/vuln/detail/CVE-2022-23616

Code Behaviors & Features

Detect and mitigate CVE-2022-23616 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 after 3.1m1 up to 13.0

Fixed versions

  • 13.1RC1

Solution

Upgrade to version 13.1RC1 or above.

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-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

maven/org.xwiki.platform/xwiki-platform-administration-ui/CVE-2022-23616.yml

Spotted a mistake? Edit the file on GitLab.

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

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