CVE-2022-34305
Also known as: GHSA-6j88-6whg-x687
EU Vulnerability Database: EUVD-2022-5963
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.
Severity
CVSS 3.x
6.1
- Exploitability
- 2.8
- Impact
- 2.7
- AV:N
- AC:L
- PR:N
- UI:R
- S:C
- C:L
- I:L
- A:N
CVSS 2.0
4.3
- Exploitability
- 8.6
- Impact
- 2.9
- AV:N
- AC:M
- Au:N
- C:N
- I:P
- A:N
Weakness Enumeration
Change History
Last Modified: Oct 8, 2026
Affected Packages
Maven org.apache.tomcat:tomcat: >= 10.1.0-M1, < 10.1.0-M17
Maven org.apache.tomcat:tomcat: >= 10.0.0-M1, < 10.0.22
Maven org.apache.tomcat:tomcat: >= 9.0.30, < 9.0.65
Maven org.apache.tomcat:tomcat: >= 8.5.50, < 8.5.82
Known Affected Software Configurations
cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:*
cpe:2.3:a:apache:tomcat:10.1.0:milestone10:*:*:*:*:*:*
cpe:2.3:a:apache:tomcat:10.1.0:milestone11:*:*:*:*:*:*
cpe:2.3:a:apache:tomcat:10.1.0:milestone12:*:*:*:*:*:*
cpe:2.3:a:apache:tomcat:10.1.0:milestone13:*:*:*:*:*:*
cpe:2.3:a:apache:tomcat:10.1.0:milestone14:*:*:*:*:*:*
cpe:2.3:a:apache:tomcat:10.1.0:milestone15:*:*:*:*:*:*
cpe:2.3:a:apache:tomcat:10.1.0:milestone16:*:*:*:*:*:*
cpe:2.3:a:apache:tomcat:10.1.0:milestone1:*:*:*:*:*:*
cpe:2.3:a:apache:tomcat:10.1.0:milestone2:*:*:*:*:*:*
References to Advisories, Solutions, and Tools
[security@apache.org] Mailing List, Third Party Advisory
[security@apache.org] Mailing List, Release Notes, Third Party Advisory
[security@apache.org] Third Party Advisory
[security@apache.org] Third Party Advisory
[af854a3a-2127-422b-91ae-364da2661108] Mailing List, Third Party Advisory
[af854a3a-2127-422b-91ae-364da2661108] Mailing List, Release Notes, Third Party Advisory