CVE-2022-34305: XSS in examples web application
Vulnerability summary
CVE-2022-34305 is a medium (CVSS 6.1) vulnerability in apache software foundation apache tomcat. EPSS estimates a 6.71% chance of exploitation in the next 30 days, higher than 93.9% of scored vulnerabilities.
Not severe (CVSS 6.1, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 1Timeline
- 23-06-2022PublishedVulnerability first disclosed.
- 08-10-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 4 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- OSV · DebianEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- OSV · MavenEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS trend
Probability
6.71%
Chance of exploitation in the next 30 days
Percentile
94%
Versus all other CVEs
30-day change
No change 0.00 pp
From 6.71% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Apache1 product
- tomcat≥ 8.5.50, ≤ 8.5.81 | ≥ 9.0.30, ≤ 9.0.64 | ≥ 10.0.0, ≤ 10.0.22 | 10.1.0:milestone1 | 10.1.0:milestone10 | 10.1.0:milestone11 | 10.1.0:milestone12 | 10.1.0:milestone13 | 10.1.0:milestone14 | 10.1.0:milestone15 | 10.1.0:milestone16 | 10.1.0:milestone2 | 10.1.0:milestone3 | 10.1.0:milestone4 | 10.1.0:milestone5 | 10.1.0:milestone6 | 10.1.0:milestone7 | 10.1.0:milestone8 | 10.1.0:milestone9
Apache software foundation1 product
- 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-M16
Debian1 product
- tomcat9< 9.0.65-1
Org.apache.tomcat1 product
- tomcat≥ 10.1.0-M1, < 10.1.0-M17 | ≥ 10.0.0-M1, < 10.0.22 | ≥ 9.0.30, < 9.0.65 | ≥ 8.5.50, < 8.5.82
Ubuntu1 product
- tomcat9All versions (No fix recorded)
5 vendors · 5 products
References
11 links- lists.apache.org/thread/k04zk0nq6w57m72w5gb0r6z9ryhmvr4kX Refsource MISCREPORTWEBMailing ListRelease NotesThird Party Advisory
- www.openwall.com/lists/oss-security/2022/06/23/1Mailing ListX Refsource MLISTREPORTWEBThird Party Advisory