Improper input validation in Mort Bay Jetty
Mort Bay Jetty 6.x through 6.1.22 and 7.0.0 writes backtrace data without sanitizing non-printable characters, which might allow remote attackers to modify a window's title, or possibly execute arbitrary commands or overwrite files, via an HTTP request containing an escape sequence for a terminal emulator, related to (1) a string value in the Age parameter to the default URI for the Cookie Dump Servlet in test-jetty-webapp/src/main/java/com/acme/CookieDump.java under cookie/, (2) an alphabetic value in the A parameter to jsp/expr.jsp, or (3) an alphabetic value in the Content-Length HTTP header to an arbitrary application.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.mortbay.jetty:jetty | >= 6.0.0, < 6.1.23, >= 7.0.0, < 7.0.2 | 6.1.23, 7.0.2 |
References
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L- Weakness (CWE)
CWE-20- Platform
- Java / Kotlin (Maven)
- Package
org.mortbay.jetty:jetty- Disclosed
- 02.05.2022
- Updated
- 11.10.2026 11:20
Sources and licenses
OSV / GitHub Advisory Database - GHSA-6jxp-7g74-2rc3 - CC BY 4.0
Vulnerability history: org.mortbay.jetty:jetty
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 11
- First → latest
- 04.2022 05.2022
- Without a fix
- 1
- Exploited in attacks
- 0
Severity breakdown
- High 2
- Medium 9
Disclosures per year
- 2022: 11
- 2023: 0
- 2024: 0
- 2025: 0
- 2026: 0
-
Improper input validation in Mort Bay Jetty this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.