CVE-2023-37908
Java vulnerability analysis and mitigation

Overview

The vulnerability (CVE-2023-37908) affects XWiki Rendering's XHTML rendering functionality, introduced in version 14.6-rc-1 and patched in versions 14.10.4 and 15.0 RC1. The vulnerability allows for the injection of arbitrary HTML code and cross-site scripting (XSS) through invalid attribute names in the XHTML rendering process (GitHub Advisory).

Technical details

The vulnerability stems from improper validation of attributes during XHTML rendering. While invalid attributes were correctly identified as not allowed, they were still printed with a prefix 'data-xwiki-translated-attribute-' without proper cleaning or validation. This could be exploited through the link syntax in any content supporting XWiki syntax, such as comments. The vulnerability has a CVSS v3.1 base score of 9.6 CRITICAL (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H) (NVD).

Impact

When exploited, the vulnerability allows attackers to execute malicious JavaScript code in the context of the user session when a user interacts with the compromised content (e.g., hovering over a malicious link). If the affected user has programming rights, the attack can lead to server-side code execution with programming privileges, potentially compromising the confidentiality, integrity, and availability of the XWiki instance (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in XWiki versions 14.10.4 and 15.0 RC1. The fix involves removing characters not allowed in data attributes and implementing additional validation of the cleaned attributes. There are no known workarounds apart from upgrading to a version that includes the fix (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-2025-55749HIGH8.7
  • JavaJava
  • org.xwiki.platform:xwiki-platform-tool-jetty-resources
NoYesDec 01, 2025
CVE-2025-13806MEDIUM6.9
  • JavaJava
  • org.nutz:nutzboot-parent
NoNoDec 01, 2025
CVE-2025-13805MEDIUM6.3
  • JavaJava
  • org.nutz:nutzboot-parent
NoNoDec 01, 2025
CVE-2025-13804MEDIUM5.3
  • JavaJava
  • org.nutz:nutzboot-parent
NoNoDec 01, 2025
CVE-2025-66372LOW2.8
  • JavaJava
  • org.mustangproject:library
NoYesNov 28, 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