CVE-2022-34305
JSON

6.1medium

XSS in examples web application

Severity
6.1medium CVSS:3.1 by NVD
Exploit likelihood
23.1% (higher than 98% of CVEs)
Published
Last changed
Assigned by
apache
Also known as
GHSA-6j88-6whg-x687BIT-TOMCAT-2022-34305

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

Product or packageVersionsReported by
Apache Software Foundation Apache TomcatApache Tomcat 8.5 8.5.50 to 8.5.81, Apache Tomcat 9 9.0.30 to 9.0.64, Apache Tomcat 10.0 10.0.0-M1 to 10.0.22, Apache Tomcat 10.1 10.1.0-M1 to 10.1.0-M16CVE List
org.apache.tomcat:tomcat (Maven)from 10.1.0-M1 before 10.1.0-M17, from 10.0.0-M1 before 10.0.22, from 9.0.30 before 9.0.65, from 8.5.50 before 8.5.82GitHub Advisory Database
apache tomcatfrom 8.5.50 up to 8.5.81, from 9.0.30 up to 9.0.64, from 10.0.0 up to 10.0.22, 10.1.0NVD
tomcat (Bitnami)from 8.5.50 before 8.5.82, from 9.0.30 before 9.0.65, from 10.0.0 before 10.0.23Bitnami Vulnerability Database

All scores

GitHub6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD4.3medium CVSS:2.0AV:N/AC:M/Au:N/C:N/I:P/A:N
Bitnami Vulnerability Databasemedium rating

Classification

CWE-79

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En Apache Tomcat versiones 10.1.0-M1 a 10.1.0-M16, 10.0.0-M1 a 10.0.22, 9.0.30 a 9.0.64 y 8.5.50 a 8.5.81, el ejemplo de autenticación de formularios en la aplicación web de ejemplos mostraba los datos proporcionados por el usuario sin filtrar, exponiendo una vulnerabilidad de tipo XSS

Bitnami Vulnerability Database

In Apache Tomcat 10.1.0 to 10.1.0, 10.0.0 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.

References

Sources

SourceRecordLicence
CVE ListCVE-2022-34305 changed 2026-10-08CVE Terms of Use
GitHub Advisory DatabaseGHSA-6j88-6whg-x687 changed 2024-02-21CC-BY-4.0
NVDCVE-2022-34305 changed 2026-10-08Public domain
Bitnami Vulnerability DatabaseBIT-TOMCAT-2022-34305 changed 2026-09-08Apache-2.0