# CVE-2025-11966: Vert.x-Web vulnerable to Stored Cross-site Scripting in directory listings via file names

Source: https://junglewise.ai/threats/cve-2025-11966-vert-x-web-vulnerable-to-stored-cross-site-scripting-in-directory  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2025-10-22  
License: CC BY 4.0 with a link back

CVE-2025-11966 · Severity: medium · CVSS 6.4 · Published 2025-10-22

In Eclipse Vert.x versions [4.0.0, 4.5.21] and [5.0.0, 5.0.4], when "directory listing" is enabled, file and directory names are inserted into generated HTML without proper escaping in the href, title, and link attributes. An attacker who can create or rename files or directories within a served path can craft filenames containing malicious script or HTML content, leading to stored cross-site scripting (XSS) that executes in the context of users viewing the affected directory listing.

Technologies: [io.vertx:vertx-web (Maven)](https://junglewise.ai/threats/technologies/io-vertx-vertx-web). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2025-11966 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2025-11966 being exploited in the wild.

**How severe is CVE-2025-11966?** Medium severity, with a CVSS score of 6.4, published 22 October 2025.

**Which products and versions are affected?** io.vertx:vertx-web (Maven) ECOSYSTEM:introduced=0,fixed=4.5.22.

**Is there a fix for CVE-2025-11966?** Yes. io.vertx:vertx-web (Maven): upgrade to 4.5.22 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2025-11966?** Check whether you run io.vertx:vertx-web (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- io.vertx:vertx-web (Maven): upgrade to 4.5.22 or later

  ```sh
  # set io.vertx:vertx-web to 4.5.22 in your pom.xml or build.gradle
  ```


## Affected products

- io.vertx:vertx-web (Maven) ECOSYSTEM:introduced=0,fixed=4.5.22

## Identifiers

- CVE-2025-11966
- GHSA-45p5-v273-3qqr

## Related threats

- [Vert.x-Web Access Control Flaw in StaticHandler’s Hidden File Protection for Files Under Hidden Directories](https://junglewise.ai/threats/cve-2025-11965-vert-x-web-access-control-flaw-in-statichandler-s-hidden-file)
- [StaticHandler disclosure of classpath resources on Windows when mounted on a wildcard route](https://junglewise.ai/threats/cve-2023-24815-statichandler-disclosure-of-classpath-resources-on-windows-when)
- [Path Traversal in Eclipse Vert](https://junglewise.ai/threats/cve-2019-17640-path-traversal-in-eclipse-vert)
- [Cross-Site Request Forgery in Vert.x-Web framework](https://junglewise.ai/threats/cve-2020-35217-cross-site-request-forgery-in-vert-x-web-framework)
- [Eclipse Vert.x does not properly neutralize '' (forward slashes) sequences that can resolve to an external location](https://junglewise.ai/threats/cve-2018-12542-eclipse-vert-x-does-not-properly-neutralize-forward-slashes)
