CVE-2023-35159
Java vulnerability analysis and mitigation

Overview

CVE-2023-35159 is a Cross-Site Scripting (XSS) vulnerability discovered in XWiki Platform, a generic wiki platform offering runtime services for applications. The vulnerability was first introduced in XWiki version 3.4-milestone-1 and has been patched in versions 14.10.5 and 15.1-rc-1. This security flaw allows users to forge URLs with malicious payloads that can inject JavaScript code into the page (GitHub Advisory).

Technical details

The vulnerability exists in the deletespace template functionality of XWiki Platform. Attackers can exploit this vulnerability by crafting a specially formatted URL using the xredirect parameter, such as 'xwiki/bin/deletespace/Sandbox/?xredirect=javascript:alert(document.domain)'. The CVSS v3.1 base score is rated as Critical (9.6) by GitHub, with a vector string of CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H, while NVD rates it as Medium (6.1). The vulnerability is classified under CWE-79 (Improper Neutralization of Input During Web Page Generation) and CWE-87 (Improper Neutralization of Alternate XSS Syntax) (NVD, GitHub Advisory).

Impact

When successfully exploited, this vulnerability allows attackers to execute arbitrary JavaScript code in the context of the user's browser session. This can lead to theft of sensitive information, session hijacking, and potential manipulation of the web application's content (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in XWiki versions 14.10.5 and 15.1-rc-1. While it's possible to work around the vulnerability by editing the deletespace.vm template to perform additional checks, the recommended solution is to upgrade to a patched version as the proper fix involves new APIs recently introduced in XWiki (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-14306CRITICAL10
  • JavaJava
  • net.sf.robocode:robocode.core
NoYesDec 09, 2025
CVE-2025-14307CRITICAL9.3
  • JavaJava
  • net.sf.robocode:robocode.battle
NoYesDec 09, 2025
CVE-2025-66566HIGH8.2
  • JavaJava
  • at.yawk.lz4:lz4-java
NoYesDec 05, 2025
CVE-2025-66623HIGH7.4
  • JavaJava
  • io.strimzi:strimzi
NoYesDec 05, 2025
GHSA-93fv-4pm9-xp28MEDIUM6.9
  • JavaJava
  • net.dv8tion:jda
NoYesDec 09, 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