Every CVE Search/ Get API key

CVE-2019-10241

Eclipse Jetty XmlParser allows arbitrary DOCTYPE declarations

6.1 MediumFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
Low
Integrity
Low
Availability
None

Exploit likelihood

9.37%Up 6.5 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 6.1

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.

Record
CVE-2019-10241
CVSS 3.1
6.1 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVSS 2.0
4.3 MediumAV:N/AC:M/Au:N/C:N/I:P/A:N
Weakness
CWE-79
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2019-10241
Weakness
CWE-79
Updated
2026-11-02
EUVDEUVD-2019-0408 No score

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.

Record
EUVD-2019-0408
Updated
2026-11-03
GitHub AdvisoriesGHSA-58qw-p7qm-5rvh 3.9

Eclipse Jetty XmlParser allows arbitrary DOCTYPE declarations

From the reporter

XmlParser is vulnerable to XML external entity (XXE) vulnerability. XmlParser is being used when parsing Jetty’s xml configuration files. An attacker might exploit this vulnerability in order to achieve SSRF or cause a denial of service. One possible scenario is importing a (remote) malicious WAR into a Jetty’s server, while the WAR includes a malicious web.xml.

Impact

There are no circumstances in a normally deployed Jetty server where potentially hostile XML is given to the XmlParser class without the attacker already having arbitrary access to the server. I.e. in order to exploit XmlParser the attacker would already have the ability to deploy and execute hostile code. Specifically, Jetty has no protection against malicious web application and potentially hostile web applications should only be run on an isolated virtualisation.

Thus this is not considered a vulnerability of the Jetty server itself, as any such usage of the jetty XmlParser is equally vulnerable as a direct usage of the JVM supplied SAX parser. No CVE will be allocated to this advisory.

However, any direct usage of the XmlParser class by an application may be vulnerable. The impact would greatly depend on how the application uses XmlParser, but it could be a denial of service due to large entity expansion, or possibly the revealing local files if the XML results are accessible remotely.

Patches

Ability to configure the SAXParserFactory to fit the needs of your particular XML parser implementation have been merged as part of PR #10067

Workarounds

Don't use Jetty's XmlParser to parse data from users.

Record
GHSA-58qw-p7qm-5rvh
CVSS 3.1
3.9 LowCVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:L
Weakness
CWE-611
Updated
2026-11-02
GitHub AdvisoriesGHSA-7vx9-xjhr-rw6h 6.1

Cross-site Scripting in Eclipse Jetty

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.

Record
GHSA-7vx9-xjhr-rw6h
CVSS 3.0
6.1 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness
CWE-79
Updated
2026-11-02
OSV 6.1

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.

Record
CVE-2019-10241
CVSS 3.1
6.1 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Updated
2026-11-02
Show 8 moreShow less
OSVDEBIAN-CVE-2019-10241 6.1

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.

Record
DEBIAN-CVE-2019-10241
CVSS 3.1
6.1 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Updated
2026-11-02
OSVGHSA-58qw-p7qm-5rvh 3.9

Eclipse Jetty XmlParser allows arbitrary DOCTYPE declarations

From the reporter

XmlParser is vulnerable to XML external entity (XXE) vulnerability. XmlParser is being used when parsing Jetty’s xml configuration files. An attacker might exploit this vulnerability in order to achieve SSRF or cause a denial of service. One possible scenario is importing a (remote) malicious WAR into a Jetty’s server, while the WAR includes a malicious web.xml.

Impact

There are no circumstances in a normally deployed Jetty server where potentially hostile XML is given to the XmlParser class without the attacker already having arbitrary access to the server. I.e. in order to exploit XmlParser the attacker would already have the ability to deploy and execute hostile code. Specifically, Jetty has no protection against malicious web application and potentially hostile web applications should only be run on an isolated virtualisation.

Thus this is not considered a vulnerability of the Jetty server itself, as any such usage of the jetty XmlParser is equally vulnerable as a direct usage of the JVM supplied SAX parser. No CVE will be allocated to this advisory.

However, any direct usage of the XmlParser class by an application may be vulnerable. The impact would greatly depend on how the application uses XmlParser, but it could be a denial of service due to large entity expansion, or possibly the revealing local files if the XML results are accessible remotely.

Patches

Ability to configure the SAXParserFactory to fit the needs of your particular XML parser implementation have been merged as part of PR #10067

Workarounds

Don't use Jetty's XmlParser to parse data from users.

Record
GHSA-58qw-p7qm-5rvh
CVSS 3.1
3.9 LowCVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:L
Weakness
CWE-611
Updated
2026-11-02
OSVGHSA-7vx9-xjhr-rw6h 6.1

Cross-site Scripting in Eclipse Jetty

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.

Record
GHSA-7vx9-xjhr-rw6h
CVSS 3.0
6.1 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness
CWE-79
Updated
2026-11-02
OSVOESA-2022-2140 6.1

jetty security update

%global desc \ Jetty is a 100% Java HTTP Server and Servlet Container. This means that you\ do not need to configure and run a separate web server (like Apache) in order\ to use Java, servlets and JSPs to generate dynamic content. Jetty is a fully\ featured web server for static and dynamic content. Unlike separate\ server/container solutions, this means that your web server and web\ application run in the same process, without interconnection overheads\ and complications. Furthermore, as a pure java component, Jetty can be simply\ included in your application for demonstration, distribution or deployment.\ Jetty is available on all Java supported platforms. \ %global extdesc \ \ This package contains

Security Fix(es):

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.(CVE-2019-10241)

Record
OESA-2022-2140
CVSS 3.1
6.1 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Updated
2026-11-02
OSVOESA-2022-2148 6.1

jetty security update

%global desc \ Jetty is a 100% Java HTTP Server and Servlet Container. This means that you\ do not need to configure and run a separate web server (like Apache) in order\ to use Java, servlets and JSPs to generate dynamic content. Jetty is a fully\ featured web server for static and dynamic content. Unlike separate\ server/container solutions, this means that your web server and web\ application run in the same process, without interconnection overheads\ and complications. Furthermore, as a pure java component, Jetty can be simply\ included in your application for demonstration, distribution or deployment.\ Jetty is available on all Java supported platforms. \ %global extdesc \ \ This package contains

Security Fix(es):

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.(CVE-2019-10241)

Record
OESA-2022-2148
CVSS 3.1
6.1 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Updated
2026-11-02
OSVOESA-2022-2149 6.1

jetty security update

%global desc \ Jetty is a 100% Java HTTP Server and Servlet Container. This means that you\ do not need to configure and run a separate web server (like Apache) in order\ to use Java, servlets and JSPs to generate dynamic content. Jetty is a fully\ featured web server for static and dynamic content. Unlike separate\ server/container solutions, this means that your web server and web\ application run in the same process, without interconnection overheads\ and complications. Furthermore, as a pure java component, Jetty can be simply\ included in your application for demonstration, distribution or deployment.\ Jetty is available on all Java supported platforms. \ %global extdesc \ \ This package contains

Security Fix(es):

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.(CVE-2019-10241)

Record
OESA-2022-2149
CVSS 3.1
6.1 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Updated
2026-11-02
OSVUBUNTU-CVE-2019-10241 6.1

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.

Record
UBUNTU-CVE-2019-10241
CVSS 3.1
6.1 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Updated
2026-11-02
OSVCLSA-2026-1780361408 No score

TuxCare security update for org.eclipse.jetty (12 CVEs)

TuxCare rebuilt 4 org.eclipse.jetty packages to address 12 CVEs. Fixed in 9.2.16.v20160414-tuxcare.1.

Record
CLSA-2026-1780361408
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
org.eclipse.jetty:jetty-xml
Maven
11.0.0-alpha0 to 11.0.15
11.0.16
org.eclipse.jetty:jetty-xml
Maven
10.0.0-alpha0 to 10.0.15
10.0.16
org.eclipse.jetty:jetty-xml
Maven
12.0.0.alpha0 to 12.0.0.beta4
12.0.0
org.eclipse.jetty:jetty-xml
Maven
through 9.4.51
9.4.52.v20230823
org.eclipse.jetty:jetty-server
Maven
through 9.2.26.v20180806
9.2.27.v20190403
org.eclipse.jetty:jetty-server
Maven
9.3.0 to 9.3.25.v20180904
9.3.26.v20190403
org.eclipse.jetty:jetty-server
Maven
9.4.0 to 9.4.15.v20190215
9.4.16.v20190411
org.eclipse.jetty:jetty-server
TuxCare:Maven
9.2.16.v20160414 up to 9.2.16.v20160414-tuxcare.1
9.2.16.v20160414-tuxcare.1
org.eclipse.jetty:jetty-servlets
TuxCare:Maven
9.2.16.v20160414 up to 9.2.16.v20160414-tuxcare.1
9.2.16.v20160414-tuxcare.1
org.eclipse.jetty:jetty-webapp
TuxCare:Maven
9.2.16.v20160414 up to 9.2.16.v20160414-tuxcare.1
9.2.16.v20160414-tuxcare.1
Show 21 moreShow less
Affected packages
PackageAffectedFixed
org.eclipse.jetty:jetty-xml
TuxCare:Maven
9.2.16.v20160414 up to 9.2.16.v20160414-tuxcare.1
9.2.16.v20160414-tuxcare.1
jetty9
Debian:12
before 9.4.18-2
9.4.18-2
jetty9
Debian:13
before 9.4.18-2
9.4.18-2
jetty9
Debian:14
before 9.4.18-2
9.4.18-2
jetty9
Debian:9
before 9.2.30-0+deb9u1, plus listed versions
9.2.21-19.2.21-1+deb9u19.2.22-19.2.22-29.2.22-3
Show 8 moreShow less
9.2.23-19.2.23-1~bpo8+19.2.23-1~bpo9+19.2.24-19.2.24-1~bpo9+19.2.25-19.2.26-19.2.26-1~bpo9+1
9.2.30-0+deb9u1
jetty9
Debian:10
before 9.4.16-0+deb10u1, plus listed versions
9.4.15-1
9.4.16-0+deb10u1
org.eclipse.jetty:jetty-xml
Maven
10.0.0-alpha0 up to 10.0.16, plus listed versions
10.0.010.0.0.alpha110.0.0.alpha210.0.0.beta010.0.0.beta1
Show 17 moreShow less
10.0.0.beta210.0.0.beta310.0.110.0.1010.0.1110.0.1210.0.1310.0.1410.0.1510.0.210.0.310.0.410.0.510.0.610.0.710.0.810.0.9
10.0.16
org.eclipse.jetty:jetty-xml
Maven
11.0.0-alpha0 up to 11.0.16, plus listed versions
11.0.011.0.0.beta111.0.0.beta211.0.0.beta311.0.1
Show 14 moreShow less
11.0.1011.0.1111.0.1211.0.1311.0.1411.0.1511.0.211.0.311.0.411.0.511.0.611.0.711.0.811.0.9
11.0.16
org.eclipse.jetty:jetty-xml
Maven
12.0.0.alpha0 up to 12.0.0, plus listed versions
12.0.0.alpha112.0.0.alpha212.0.0.alpha312.0.0.beta012.0.0.beta112.0.0.beta212.0.0.beta312.0.0.beta4
12.0.0
org.eclipse.jetty:jetty-xml
Maven
before 9.4.52.v20230823, plus listed versions
7.0.0.M07.0.0.M17.0.0.M27.0.0.M37.0.0.M4
Show 45 moreShow less
7.0.0.RC07.0.0.RC17.0.0.RC27.0.0.RC37.0.0.RC47.0.0.RC57.0.0.RC67.0.0.v200910057.0.1.v200911257.0.2.RC07.0.2.v201003317.1.0.RC07.1.0.RC17.1.0.v201005057.1.1.v201005177.1.2.v201005237.1.3.v201005267.1.4.v201006107.1.5.v201007057.1.6.v201007157.2.0.RC07.2.0.v201010207.2.1.v201011117.2.2.v201012057.3.0.v201102037.3.1.v201103077.4.0.RC07.4.0.v201104147.4.1.v201105137.4.2.v201105267.4.3.v201107017.4.4.v201107077.4.5.v201107257.5.0.RC07.5.0.RC17.5.0.RC27.5.0.v201109017.5.1.v201109087.5.2.v201110067.5.3.v201110117.5.4.v201110247.6.0.RC07.6.0.RC17.6.0.RC27.6.0.RC3
9.4.52.v20230823
org.eclipse.jetty:jetty-server
Maven
before 9.2.27.v20190403, plus listed versions
7.0.0.M07.0.0.M17.0.0.M27.0.0.M37.0.0.M4
Show 45 moreShow less
7.0.0.RC07.0.0.RC17.0.0.RC27.0.0.RC37.0.0.RC47.0.0.RC57.0.0.RC67.0.0.v200910057.0.1.v200911257.0.2.RC07.0.2.v201003317.1.0.RC07.1.0.RC17.1.0.v201005057.1.1.v201005177.1.2.v201005237.1.3.v201005267.1.4.v201006107.1.5.v201007057.1.6.v201007157.2.0.RC07.2.0.v201010207.2.1.v201011117.2.2.v201012057.3.0.v201102037.3.1.v201103077.4.0.RC07.4.0.v201104147.4.1.v201105137.4.2.v201105267.4.3.v201107017.4.4.v201107077.4.5.v201107257.5.0.RC07.5.0.RC17.5.0.RC27.5.0.v201109017.5.1.v201109087.5.2.v201110067.5.3.v201110117.5.4.v201110247.6.0.RC07.6.0.RC17.6.0.RC27.6.0.RC3
9.2.27.v20190403
org.eclipse.jetty:jetty-server
Maven
9.3.0 up to 9.3.26.v20190403, plus listed versions
9.3.0.v201506129.3.1.v201507149.3.10.M09.3.10.v201606219.3.11.M0
Show 34 moreShow less
9.3.11.v201607219.3.12.v201609159.3.13.M09.3.13.v201610149.3.14.v201610289.3.15.v201612209.3.16.v201701209.3.17.RC09.3.17.v201703179.3.18.v201704069.3.19.v201705029.3.2.v201507309.3.20.v201705319.3.21.M09.3.21.RC09.3.21.v201709189.3.22.v201710309.3.23.v201802289.3.24.v201806059.3.25.v201809049.3.3.v201508279.3.4.RC09.3.4.RC19.3.4.v201510079.3.5.v201510129.3.6.v201511069.3.7.RC09.3.7.RC19.3.7.v201601159.3.8.RC09.3.8.v201603149.3.9.M09.3.9.M19.3.9.v20160517
9.3.26.v20190403
org.eclipse.jetty:jetty-server
Maven
9.4.0 up to 9.4.16.v20190411, plus listed versions
9.4.0.v201612089.4.0.v201806199.4.1.v201701209.4.1.v201806199.4.10.RC0
Show 26 moreShow less
9.4.10.RC19.4.10.v201805039.4.11.v201806059.4.12.RC09.4.12.RC19.4.12.RC29.4.12.v201808309.4.13.v201811119.4.14.v201811149.4.15.v201902159.4.2.v201702209.4.2.v201806199.4.3.v201703179.4.3.v201806199.4.4.v201704149.4.4.v201806199.4.5.v201705029.4.5.v201806199.4.6.v201705319.4.6.v201806199.4.7.RC09.4.7.v201709149.4.7.v201806199.4.8.v201711219.4.8.v201806199.4.9.v20180320
9.4.16.v20190411
jetty
openEuler:20.03-LTS-SP3
before 9.4.16-1.oe1
9.4.16-1.oe1
jetty
openEuler:20.03-LTS-SP1
before 9.4.16-1.oe1
9.4.16-1.oe1
jetty
openEuler:22.03-LTS
before 9.4.16-1.oe2203
9.4.16-1.oe2203
jetty
Ubuntu:14.04:LTS
All versions, plus listed versions
6.1.26-1ubuntu16.1.26-1ubuntu1.16.1.26-1ubuntu1.2
None known
jetty8
Ubuntu:14.04:LTS
All versions, plus listed versions
8.1.3-88.1.3-9
None known
jetty
Ubuntu:16.04:LTS
All versions, plus listed versions
6.1.26-56.1.26-5ubuntu0.1
None known
jetty8
Ubuntu:16.04:LTS
All versions, plus listed versions
8.1.17-28.1.18-18.1.18-28.1.18-38.1.19-1
None known
jetty9
Ubuntu:18.04:LTS
All versions, plus listed versions
9.2.22-29.2.22-39.2.23-19.4.15-1~18.04.1ubuntu1
None known

History

History
RecordedChangedSources
aliases, productsEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2019-10241 is a medium vulnerability (CVSS 6.1) in Eclipse Jetty, published April 22, 2019. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 9.37%, the 95th percentile. Fixed in org.eclipse.jetty:jetty-xml 11.0.16.

References

Show 35 moreShow less
This page doesn't list everything

Left out here: 372 versions. The JSON record has them.

MoveEnter Open