CVE-2022-34305Tomcat XSS
tomcat: XSS in examples web application
Published Jun 24, 2022 · Updated Nov 3, 2026 · Also known as BIT-tomcat-2022-34305, CLEANSTART-2026-EU30316, CLEANSTART-2026-LQ50135, CLEANSTART-2026-RO48475, CLEANSTART-2026-YI96456, CLSA-2025-1756253007, CLSA-2026-1775003191, CLSA-2026-1785917668, CLSA-2026-1787564106, DEBIAN-CVE-2022-34305, GHSA-6j88-6whg-x687, UBUNTU-CVE-2022-34305
Key Facts
Patch immediately- CVE-2022-34305 is a medium-severity vulnerability (CVSS 6.1 v3.1) affecting Tomcat (Apache), tomcat10 (cleanstart), tomcat11 (cleanstart) and 17 more products.
- It is exploited in the wild, listed in Industry KEV feed since Nov 9, 2023. No public exploit code is known.
- EPSS estimates a 23% probability of exploitation in the next 30 days.
- Fixed versions are available, including Tomcat <=8.5.81, Tomcat 10.0.23, Tomcat 8.5.82.
- Brandefense priority: patch immediately, because it is listed as exploited in the wild.
Scores
CVSS v3.1
6.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS (30-day exploit likelihood)
23%
Higher than 98.2% of all scored CVEs
Exploit maturity
Exploited (KEV)
ATLAS score
47/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Nov 9, 2023
503 days after publication
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
Exploited (KEV)
Public exploit code
0
Proof-of-concept links
In-the-wild evidence
1
Reports of active use
Advisories And Exploit References
- advisoryhttps://www.cve.org/CVERecord?id=CVE-2022-34305
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2022-34305
- advisoryhttps://security-tracker.debian.org/tracker/CVE-2022-34305
- advisoryhttps://ubuntu.com/security/CVE-2022-34305
- advisoryhttps://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2022-34305
- advisoryhttps://advisories.mageia.org/MGASA-2023-0138.html
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.
Known-Exploited Catalog Listings
| Catalog | Added | Remediation due | Ransomware use |
|---|---|---|---|
| Industry KEV feed | Nov 9, 2023 | n/a | Not reported |
Affected Products
52 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| TomcatApache | 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 | 8.5.81 |
| tomcat10cleanstart | See advisory | 9.0.64-r0 |
| tomcat11cleanstart | See advisory | 9.0.64-r0 |
| tomcat9cleanstart | See advisory | 9.0.64-r0 |
| libtomcat8-embed-javatuxcare | See advisory | 8.5.100-1ubuntu1~18.04.1+tuxcare.els1 |
Patched Releases
Tomcat
<=8.5.81, 10.0.23, 8.5.82, 9.0.65, 9.0.73-1.1.mga8
libtomcat8-embed-java
8.5.100-1ubuntu1~18.04.1+tuxcare.els1
libtomcat8-java
8.5.100-1ubuntu1~18.04.1+tuxcare.els1
org.apache.tomcat:tomcat
10.0.22, 10.1.0-M17, 7.0.109-tuxcare.4, 8.5.78-tuxcare.1, 8.5.82, 9.0.39-tuxcare.2, 9.0.46-tuxcare.3, 9.0.50-tuxcare.15, 9.0.65, 9.0.75-tuxcare.1
org.apache.tomcat:tomcat-catalina
8.5.78-tuxcare.1, 9.0.39-tuxcare.2, 9.0.46-tuxcare.3, 9.0.75-tuxcare.1
org.apache.tomcat:tomcat-coyote
8.5.78-tuxcare.1, 9.0.39-tuxcare.2, 9.0.46-tuxcare.3, 9.0.75-tuxcare.1
org.apache.tomcat:tomcat-tribes
7.0.109-tuxcare.4, 8.5.78-tuxcare.1
org.apache.tomcat:tomcat-util
9.0.39-tuxcare.2, 9.0.75-tuxcare.1
org.apache.tomcat:tomcat-websocket
8.5.78-tuxcare.1
org.apache.tomcat.embed:tomcat-embed-core
8.5.78-tuxcare.1, 9.0.39-tuxcare.2, 9.0.46-tuxcare.3, 9.0.75-tuxcare.1
org.apache.tomcat.embed:tomcat-embed-websocket
8.5.78-tuxcare.1
tomcat10
9.0.64-r0
tomcat11
9.0.64-r0
tomcat8
8.5.100-1ubuntu1~18.04.1+tuxcare.els1
tomcat8-admin
8.5.100-1ubuntu1~18.04.1+tuxcare.els1
tomcat8-common
8.5.100-1ubuntu1~18.04.1+tuxcare.els1
tomcat8-docs
8.5.100-1ubuntu1~18.04.1+tuxcare.els1
tomcat8-examples
8.5.100-1ubuntu1~18.04.1+tuxcare.els1
tomcat8-user
8.5.100-1ubuntu1~18.04.1+tuxcare.els1
tomcat9
9.0.64-r0, 9.0.65-1
Timeline
Publicly disclosed
Jun 24, 2022
Added to Industry KEV feed
Nov 9, 2023
Last updated
Nov 3, 2026
Weakness Type
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
- advisorycve.org · CVERecord
- advisorynvd.nist.gov · CVE-2022-34305
- advisorysecurity-tracker.debian.org · CVE-2022-34305
- advisoryubuntu.com · CVE-2022-34305
- advisoryweb.nvd.nist.gov · vuln
FAQ
Common Questions.
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: Tomcat (Apache) versions 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; tomcat10 (cleanstart); tomcat11 (cleanstart), among others. The full list is in the CVE brief.
It is exploited in the wild, listed in Industry KEV feed since Nov 9, 2023.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
No public exploit code is known.
Fixed versions are available, including Tomcat <=8.5.81, Tomcat 10.0.23, Tomcat 8.5.82.
Brandefense priority: patch immediately, because it is listed as exploited in the wild.
Is CVE-2022-34305 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo