CVE-2025-11966
Java vulnerability analysis and mitigation

Overview

In Eclipse Vert.x versions [4.0.0, 4.5.21] and [5.0.0, 5.0.4], a stored cross-site scripting (XSS) vulnerability exists when directory listing is enabled. The vulnerability stems from improper escaping of file and directory names in the href, title, and link attributes of generated HTML (Eclipse Report, NVD).

Technical details

The vulnerability occurs when directory listing functionality is enabled in the affected Vert.x versions. File and directory names are inserted into generated HTML without proper escaping in three specific attributes: href, title, and link. The vulnerability has been assigned a CVSS 4.0 Base Score of 2.3 (LOW) with the vector string CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N. The weakness has been categorized under CWE-79 (Improper Neutralization of Input During Web Page Generation) and CWE-80 (Improper Neutralization of Script-Related HTML Tags in a Web Page) (NVD).

Impact

When exploited, this vulnerability allows attackers who can create or rename files or directories within a served path to inject malicious script or HTML content. The injected content executes in the context of users viewing the affected directory listing, potentially leading to unauthorized access to user data or actions performed on behalf of the victim (NVD).

Mitigation and workarounds

Users should upgrade to versions newer than 4.5.21 for the 4.x series or versions newer than 5.0.4 for the 5.x series. If immediate upgrading is not possible, it is recommended to disable directory listing functionality where not strictly necessary (Eclipse Report).

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-62249MEDIUM6.9
  • JavaJava
  • cpe:2.3:a:liferay:liferay_portal
NoYesOct 21, 2025
CVE-2025-62250MEDIUM6.9
  • JavaJava
  • com.liferay:com.liferay.portal.cluster.multiple
NoYesOct 21, 2025
GHSA-gr7h-xw4f-wh86LOW2.6
  • JavaJava
  • org.sakaiproject.kernel:sakai-kernel-impl
NoNoOct 22, 2025
CVE-2025-11965N/AN/A
  • JavaJava
  • pki-resteasy-servlet-initializer
NoYesOct 22, 2025
CVE-2025-11966N/AN/A
  • JavaJava
  • io.vertx:vertx-web
NoYesOct 22, 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