Vulnerability · Published Jun 23, 2022 · Assigned by apache

CVE-2022-34305XSS in examples web application

Medium 6.1

In plain English

A medium-severity cross-site scripting in Apache Tomcat from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 6.7% (higher than 94% of all known vulnerabilities). Ready-made attack tooling exists: Nuclei. Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)6.1Medium
Exploit odds (30 days)6.7%top 6.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack tooling1Nuclei

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12tomcat99.0.65-1DEBIAN-CVE-2022-34305
Debian:13tomcat99.0.65-1DEBIAN-CVE-2022-34305
Debian:14tomcat99.0.65-1DEBIAN-CVE-2022-34305
Mavenorg.apache.tomcat:tomcat10.1.0-M17GHSA-6j88-6whg-x687
Mavenorg.apache.tomcat:tomcat8.5.82GHSA-6j88-6whg-x687
Mavenorg.apache.tomcat:tomcat10.0.22GHSA-6j88-6whg-x687
Mavenorg.apache.tomcat:tomcat9.0.65GHSA-6j88-6whg-x687

Affected products (as reported)

VendorProductVersions
Apache Software Foundation Apache Tomcat Apache Tomcat 8.5 8.5.50 to 8.5.81Apache Tomcat 9 9.0.30 to 9.0.64Apache Tomcat 10.0 10.0.0-M1 to 10.0.22Apache Tomcat 10.1 10.1.0-M1 to 10.1.0-M16

Weakness: CWE-79

References