Live threats

All CVEs / Apache

CVE-2022-34305Apache Tomcat

Medium 6.1 No auth neededHigh EPSS

Priority
54
CVSS 3.1
6.1
EPSS
23.1%
probability of exploitation in 30 days · percentile 98
Auth required
No
Published
Jun 23, 2022
Updated
Oct 8, 2026
Category
Server · Cross-platform
Weakness (CWE)
CWE-79
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Tomcat.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.apache.tomcat:tomcat ≥ 10.1.0-M1 < 10.1.0-M17 10.1.0-M17 —
Maven org.apache.tomcat:tomcat ≥ 10.0.0-M1 < 10.0.22 10.0.22 —
Maven org.apache.tomcat:tomcat ≥ 9.0.30 < 9.0.65 9.0.65 —
Maven org.apache.tomcat:tomcat ≥ 8.5.50 < 8.5.82 8.5.82 —

Per OSV / GitHub Advisories (GHSA-6j88-6whg-x687). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
apachetomcat≥ 8.5.50 ≤ 8.5.81
apachetomcat≥ 9.0.30 ≤ 9.0.64
apachetomcat≥ 10.0.0 ≤ 10.0.22
apachetomcat10.1.0
apachetomcat10.1.0
apachetomcat10.1.0
apachetomcat10.1.0
apachetomcat10.1.0
apachetomcat10.1.0
apachetomcat10.1.0
apachetomcat10.1.0
apachetomcat10.1.0
apachetomcat10.1.0
apachetomcat10.1.0
apachetomcat10.1.0
apachetomcat10.1.0
apachetomcat10.1.0
apachetomcat10.1.0
apachetomcat10.1.0

Official sources

References

Links published by the sources. Open them with care.