Cross-site Scripting (XSS) Affecting tomcat9 package, versions <9.0.65-1


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
6.16% (93rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-TOMCAT9-18001067
  • published17 Jul 2026
  • disclosed23 Jun 2022

Introduced: 23 Jun 2022

CVE-2022-34305  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade Echo:latest tomcat9 to version 9.0.65-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream tomcat9 package and not the tomcat9 package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

In Apache Tomcat 10.1.0-M1 to 10.1.0-M16, 10.0.0-M1 to 10.0.22, 9.0.30 to 9.0.64 and 8.5.50 to 8.5.81 the Form authentication example in the examples web application displayed user provided data without filtering, exposing a XSS vulnerability.

CVSS Base Scores

version 3.1