VYPR
Moderate severityNVD Advisory· Published Apr 22, 2019· Updated Aug 4, 2024

CVE-2019-10241

CVE-2019-10241

Description

In Eclipse Jetty version 9.2.26 and older, 9.3.25 and older, and 9.4.15 and older, the server is vulnerable to XSS conditions if a remote client USES a specially formatted URL against the DefaultServlet or ResourceHandler that is configured for showing a Listing of directory contents.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Eclipse Jetty versions prior to 9.2.27, 9.3.26, and 9.4.16 have an XSS vulnerability when directory listing is enabled via DefaultServlet or ResourceHandler.

The vulnerability exists in the DefaultServlet and ResourceHandler components of Eclipse Jetty, which are used to serve static content and can be configured to display directory listings. When directory listing is enabled, a specially crafted URL can inject arbitrary HTML or JavaScript into the listing page, leading to cross-site scripting (XSS) [1]. The root cause is insufficient sanitization of user-supplied input in the URL path when generating the directory listing response.

An attacker can exploit this by sending a crafted request to a Jetty server where the directory listing feature is active. No authentication is required, and the attacker only needs network access to the server. The malicious URL contains HTML or script code that gets reflected in the listing page, allowing the attacker to execute scripts in the context of the victim's browser session.

Successful exploitation allows an attacker to steal cookies, session tokens, or other sensitive information, or perform actions on behalf of the victim. The impact is limited to the browser session of users viewing the directory listing, but can lead to credential theft or other client-side attacks.

Jetty versions 9.2.27, 9.3.26, and 9.4.16 contain the fix. Users should upgrade to these or later versions. No workaround is available if directory listing is required; however, disabling directory listing mitigates the vulnerability [2].

AI Insight generated on May 22, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
org.eclipse.jetty:jetty-serverMaven
< 9.2.27.v201904039.2.27.v20190403
org.eclipse.jetty:jetty-serverMaven
>= 9.3.0, < 9.3.26.v201904039.3.26.v20190403
org.eclipse.jetty:jetty-serverMaven
>= 9.4.0, < 9.4.16.v201904119.4.16.v20190411

Affected products

2

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

27

News mentions

0

No linked articles in our index yet.