Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.xwiki.commons/xwiki-commons-core
  4. ›
  5. CVE-2021-32621

CVE-2021-32621: Improper Control of Generation of Code ('Code Injection')

May 18, 2021 (updated June 28, 2021)

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. In versions prior to 12.6.7 and 12.10.3, a user without Script or Programming right is able to execute script requiring privileges by editing gadget titles in the dashboard. The issue has been patched in XWiki 12.6.7, 12.10.3 and 13.0RC1.

References

  • github.com/advisories/GHSA-h353-hc43-95vc
  • github.com/xwiki/xwiki-platform/commit/bb7068bd911f91e5511f3cfb03276c7ac81100bc
  • github.com/xwiki/xwiki-platform/security/advisories/GHSA-h353-hc43-95vc
  • jay-from-future.github.io/cve/2021/06/17/xwiki-rce-cve.html
  • nvd.nist.gov/vuln/detail/CVE-2021-32621

Code Behaviors & Features

Detect and mitigate CVE-2021-32621 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 before 12.6.7, all versions starting from 12.10.0 before 12.10.3

Fixed versions

  • 12.6.7
  • 12.10.3

Solution

Upgrade to versions 12.6.7, 12.10.3 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-94: Improper Control of Generation of Code ('Code Injection')

Source file

maven/org.xwiki.commons/xwiki-commons-core/CVE-2021-32621.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:40 +0000.