CVE-2022-34305

published 23 Jun 2022 · updated 8 Oct 2026

XSS in examples web application

6.0MediumEPSS 7%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 7%. No fixed version is recorded.

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

Vendors, products and packages with version ranges

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

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-34305 severity on Zeptric[![CVE-2022-34305](https://zeptric.io/badge/cve/CVE-2022-34305.svg)](https://zeptric.io/cve/CVE-2022-34305)