CVE-2023-29521
Java vulnerability analysis and mitigation

Overview

XWiki Platform, a generic wiki platform offering runtime services for applications, was found to contain a critical security vulnerability (CVE-2023-29521) that allows any user with view rights to execute arbitrary Groovy, Python, or Velocity code, potentially leading to full access to the XWiki installation. The vulnerability stems from improper escaping of Macro.VFSTreeMacro. This vulnerability affects versions from 7.4-milestone-2 and has been patched in versions 15.0-rc-1, 14.10.2, 14.4.8, and 13.10.11 (GitHub Advisory).

Technical details

The vulnerability is classified as a privilege escalation issue with a CVSS v3.1 base score of 8.8 HIGH (NIST: AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H). The root cause is identified as improper neutralization of special elements in output used by a downstream component (CWE-74). The vulnerability exists in the VFS Tree macro component, which allows XWiki syntax injection through the root parameter, enabling unauthorized execution of arbitrary code (NVD, Jira Issue).

Impact

The vulnerability allows attackers to execute arbitrary Groovy, Python, or Velocity code with full access to the XWiki installation, compromising the system's confidentiality, integrity, and availability. It's worth noting that while the VFS Tree macro is part of xwiki-platform, it is not bundled with XWiki by default, which somewhat limits the potential impact (GitHub Advisory).

Mitigation and workarounds

The primary mitigation is to upgrade to the patched versions: XWiki 15.0-rc-1, 14.10.2, 14.4.8, or 13.10.11. There are no known workarounds for this vulnerability, making the upgrade the only secure solution (NVD).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-26866HIGH8.8
  • JavaJava
  • org.apache.hugegraph:hg-pd-core
NoYesDec 12, 2025
CVE-2025-66474HIGH8.7
  • JavaJava
  • org.xwiki.rendering:xwiki-rendering-xml
NoYesDec 10, 2025
CVE-2025-66473HIGH8.7
  • JavaJava
  • org.xwiki.platform:xwiki-platform-rest-server
NoYesDec 10, 2025
CVE-2025-67505HIGH8.4
  • JavaJava
  • com.okta.sdk:okta-sdk-root
NoYesDec 10, 2025
CVE-2025-14518MEDIUM5.3
  • JavaJava
  • tech.powerjob:powerjob-common
NoNoDec 11, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management