Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.xwiki.platform/xwiki-platform-web-templates
  4. ›
  5. CVE-2023-29512

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

April 20, 2023

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Any user with edit rights on a page (e.g., it’s own user page), can execute arbitrary Groovy, Python or Velocity code in XWiki leading to full access to the XWiki installation. The root cause is improper escaping of the information loaded from attachments in imported.vm, importinline.vm, and packagelist.vm. This page is installed by default. This vulnerability has been patched in XWiki 15.0-rc-1, 14.10.1, 14.4.8, and 13.10.11. Users are advised to upgrade. There are no known workarounds for this vulnerability.

References

  • github.com/advisories/GHSA-hg5x-3w3x-7g96
  • github.com/xwiki/xwiki-platform/commit/e4bbdc23fea0be4ef1921d1a58648028ce753344
  • github.com/xwiki/xwiki-platform/security/advisories/GHSA-hg5x-3w3x-7g96
  • jira.xwiki.org/browse/XWIKI-20267
  • nvd.nist.gov/vuln/detail/CVE-2023-29512

Code Behaviors & Features

Detect and mitigate CVE-2023-29512 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 1.0b1 before 13.10.11, all versions starting from 14.0-rc-1 before 14.4.8, all versions starting from 14.5 before 14.10.1

Fixed versions

  • 13.10.11
  • 14.4.8
  • 14.10.1

Solution

Upgrade to versions 13.10.11, 14.4.8, 14.10.1 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-web-templates/CVE-2023-29512.yml

Spotted a mistake? Edit the file on GitLab.

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

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