CVE-2007-5613: Mortbay Jetty Cross-site Scripting Vulnerability

org.mortbay.jetty:jetty Updated 02 Oct 2025

Summary

01/05/2022
Yes i
Moderate
5.3

CVE-2007-5613: Mortbay Jetty vulnerable to Cross-site scripting. Affects org.mortbay.jetty:jetty versions < 6.1.6. Fixed in 6.1.6. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Mortbay Jetty is an open-source web server and servlet container written in Java. It is widely used for hosting Java web applications and provides a lightweight and scalable solution. The vulnerability in question, identified as CVE-2007-5613, is a cross-site scripting (XSS) vulnerability that affects Mortbay Jetty versions prior to 6.1.6rc1. This vulnerability allows remote attackers to inject arbitrary web script or HTML through unspecified parameters and cookies.

Vulnerability Detail

The cross-site scripting (XSS) vulnerability in Mortbay Jetty's Dump Servlet allows malicious actors to inject arbitrary web script or HTML into the application. This can lead to various security issues, including session hijacking, defacement of web pages, and theft of sensitive information. The vulnerability arises from a lack of proper input validation and sanitization, allowing user-supplied data to be executed as code in the victim's browser. It is classified as a moderate severity vulnerability with a CVSS score of 5.3.

How To Fix

Minimum fixed version

6.1.6

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If upgrading Mortbay Jetty is not immediately feasible, a temporary workaround can be implemented to mitigate the risk. This can involve implementing input validation and sanitization measures within the application code to prevent the execution of malicious scripts. It is crucial to carefully validate and sanitize all user-supplied input, especially when rendering it in HTML templates or dynamically generating JavaScript code.

Conclusion

The Mortbay Jetty Cross-site Scripting vulnerability (CVE-2007-5613) poses a moderate security risk, allowing remote attackers to inject arbitrary web script or HTML. To mitigate this vulnerability, it is crucial to upgrade Mortbay Jetty to version 6.1.6 or later. Additionally, implementing input validation and sanitization measures within the application code can provide temporary mitigation. For further assistance and support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for org.mortbay.jetty:jetty →

Share this vulnerability

FAQ

Mortbay Jetty is an open-source web server and servlet container written in Java. It is commonly used for hosting Java web applications and provides a lightweight and scalable solution.

Cross-site scripting (XSS) is a type of security vulnerability that allows attackers to inject malicious scripts into web pages viewed by other users. This can lead to various attacks, such as session hijacking, defacement of web pages, and theft of sensitive information.

The vulnerability in Mortbay Jetty can allow attackers to inject arbitrary web script or HTML into the application. This can lead to various security issues, including session hijacking, defacement of web pages, and theft of sensitive information.

The CVSS score of this vulnerability is 5.3, indicating a moderate severity level.

To fix this vulnerability, it is recommended to upgrade Mortbay Jetty to version 6.1.6 or later. This version includes the necessary patches and improvements to mitigate the XSS vulnerability.

Related vulnerabilities

Recent vulnerabilities recorded for org.mortbay.jetty:jetty.

How To Fix

Minimum fixed version

6.1.6

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback