CVE-2023-41046
Java vulnerability analysis and mitigation

Overview

XWiki Platform, a generic wiki platform offering runtime services for applications, was found to contain a vulnerability (CVE-2023-41046) that allows users to execute Velocity code without having script rights. The vulnerability affects versions from 7.2 up to (excluding) 14.10.10 and from 15.0 up to (excluding) 15.4. The issue was discovered and disclosed in September 2023 (GitHub Advisory).

Technical details

The vulnerability exists in the TextArea property type of XWiki Platform. Users can exploit this by creating an XClass with a property of type 'TextArea' and content type either 'VelocityCode' or 'VelocityWiki'. For VelocityCode exploitation, the document syntax needs to be set to 'xwiki/1.0'. The vulnerability has a CVSS v3.1 base score of 6.3 (Medium) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L (GitHub Advisory).

Impact

When exploited, the vulnerability allows execution of Velocity code regardless of the author's rights, though edit rights are still required. While the code executes with the correct context author preventing access to privileged APIs, it still grants access to otherwise inaccessible data and APIs that could enable further privilege escalation (GitHub Advisory).

Exploitability

The vulnerability requires a user with edit rights but without script rights to create a specific TextArea property configuration. The exploitation process involves either using VelocityCode with xwiki/1.0 syntax or VelocityWiki content type. The vulnerability has been present since version 7.2, when script rights were introduced as a separate permission (XWIKI Jira).

Mitigation and workarounds

The vulnerability has been patched in XWiki versions 14.10.10 and 15.4 RC1. There are no known workarounds, and users are advised to upgrade to the patched versions (GitHub Advisory).

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-2026-10050HIGH8.7
  • Java logoJava
  • jetty12
NoYesAug 04, 2026
CVE-2026-56818MEDIUM6.5
  • Java logoJava
  • netty-tcnative
NoYesAug 07, 2026
CVE-2026-48047MEDIUM5.9
  • Java logoJava
  • org.xwiki.platform:xwiki-platform-webjars-api
NoYesAug 07, 2026
CVE-2026-53573MEDIUM4.8
  • Java logoJava
  • org.geonetwork-opensource:geonetwork
NoYesJul 31, 2026
CVE-2026-71497MEDIUM4.7
  • Java logoJava
  • maven-shared-utils
NoYesAug 06, 2026

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