CVE-2022-34305 Apache Tomcat
| Affected software | Apache Tomcat |
|---|---|
| Severity | 6.1 Medium CVSS 3.1 2 scores |
| Fixed in | 10.1.0-M17, 10.0.22, 9.0.65, 8.5.82 |
| Weakness | Cross-site scripting (CWE-79) |
| Published | 23 Jun 2022 |
| Updated | 8 Oct 2026 |
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.
Exploitation status
Exploited
Real-world exploitation reported by VulnCheck KEV. CISA has not confirmed it.
Exploitation status
- CISA KEV not listed
- VulnCheck KEV listed Exploitation reported in the wild. 1 citation · earliest 2023-11-09.
- CISA Vulnrichment exploitation: none
- Indexed PoC 1 indexed Published artifacts you can open, in Nuclei.
- EPSS 6.7% chance in 30 days
VulnCheck KEV
Exploitation evidence from VulnCheck Known Exploited Vulnerabilities (VulnCheck KEV), used under VulnCheck's community terms. View CVE-2022-34305 in VulnCheck (free account).
| Evidence | Source | Detail | Date |
|---|---|---|---|
| Reported exploitation | media.kasperskycontenthub.com | /wp-content/uploads/sites/43/2023/11/09055246/Modern-Asian-APT-groups-TTPs_report_eng.pdf | 2023-11-09 |
| Index | Artifact | Stars | First seen |
|---|---|---|---|
| Nuclei | Apache Tomcat Examples Web Application - Cross-Site Scripting |
Waratek protection
Waratek has a rule that blocks attacks on this vulnerability.
- Protection full
- Action available security rule
- Review human Researcher
- Record active
| Decided by | Manual classification of this CVE in the legacy dataset |
|---|---|
| Finding | A manual classification set this CVE's status to Protected by Waratek. |
How to mitigate CVE-2022-34305
Upgrade Apache Tomcat to a release that fixes it: 10.1.0-M17, 10.0.22, 9.0.65 or 8.5.82. Until you can, Waratek RASP blocks exploitation with a security rule that blocks this kind of attack. It runs inside the Java application, with no code changes.
CVSS
6.1 MEDIUM
v3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
2 metrics
CVSS
6.1 MEDIUM v3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
2 metrics
We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.
| Version | Score | Band | Vector | Assigner | Type | |
|---|---|---|---|---|---|---|
| CVSS 3.1 | 6.1 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
NVD | Primary | published |
| CVSS 2.0 | 4.3 | none | AV:N/AC:M/Au:N/C:N/I:P/A:N |
NVD | Primary |
Affected software and releases
Oracle advisories
| Advisory | Type | Quarter | Products Oracle names in its risk matrix |
|---|---|---|---|
| Oracle Critical Patch Update July 2023 ↗ | CPU | 2023-Q3 | Oracle Supply Chain / Installation (Apache Tomcat) (6.2.1.0-6.2.1.8) |
| Oracle Critical Patch Update April 2023 ↗ | CPU | 2023-Q2 | Oracle Fusion Middleware / MFT Runtime Server (Apache Tomcat) (12.2.1.4.0) |
| Oracle Critical Patch Update January 2023 ↗ | CPU | 2023-Q1 | Oracle Communications / Backend Server (Apache Tomcat) (22.1.0.0.0) |
| Oracle Critical Patch Update October 2022 ↗ | CPU | 2022-Q4 | Oracle Communications / BEServer (Apache Tomcat) (9.0) Oracle Communications / Platform (Apache Tomcat) (12.4.0) Oracle Communications / Platform (Apache Tomcat) (8.6.0.0) Oracle Communications Applications / REST API (Apache Tomcat) (Prior to 5.5.7.0.0, 6.0.0.0.0) Oracle Hospitality Applications / Next-Gen SPMS (Apache Tomcat) (20.2.2) Oracle MySQL / Monitoring: General (Apache Tomcat) (8.0.31 and prior) Oracle Siebel CRM / EAI (Apache Tomcat) (22.8 and prior) Oracle Utilities Applications / Tools (Apache Tomcat) (6.0.0.1.3, 6.0.0.2.4, 6.0.0.3.3, 7.0.0.0.0) |
Oracle components and versions
| Family | Component | Versions, as Oracle lists them | Read as |
|---|---|---|---|
| Oracle Communications | BEServer (Apache Tomcat) | 9.0 | 9.0 |
| Oracle Communications | Backend Server (Apache Tomcat) | 22.1.0.0.0 | 22.1.0.0.0 |
| Oracle Communications | Platform (Apache Tomcat) | 8.6.0.0 | 8.6.0.0 · 12.4.0 |
| Oracle Communications Applications | REST API (Apache Tomcat) | Prior to 5.5.7.0.0, 6.0.0.0.0 | 6.0.0.0.0 |
| Oracle Fusion Middleware | MFT Runtime Server (Apache Tomcat) | 12.2.1.4.0 | 12.2.1.4.0 |
| Oracle Hospitality Applications | Next-Gen SPMS (Apache Tomcat) | 20.2.2 | 20.2.2 |
| Oracle MySQL | Monitoring: General (Apache Tomcat) | 8.0.31 and prior | |
| Oracle Siebel CRM | EAI (Apache Tomcat) | 22.8 and prior | |
| Oracle Supply Chain | Installation (Apache Tomcat) | 6.2.1.0-6.2.1.8 | |
| Oracle Utilities Applications | Tools (Apache Tomcat) | 6.0.0.1.3, 6.0.0.2.4, 6.0.0.3.3, 7.0.0.0.0 | 6.0.0.1.3 · 6.0.0.2.4 · 6.0.0.3.3 · 7.0.0.0.0 |
Maven packages
Affected and fixed versions, from OSV.dev| Package | Introduced | Fixed | Last affected |
|---|---|---|---|
org.apache.tomcat:tomcat |
10.1.0-M1 | 10.1.0-M17 |
unbounded |
org.apache.tomcat:tomcat |
10.0.0-M1 | 10.0.22 |
unbounded |
org.apache.tomcat:tomcat |
9.0.30 | 9.0.65 |
unbounded |
org.apache.tomcat:tomcat |
8.5.50 | 8.5.82 |
unbounded |
Products and versions
2 products, 23 version entries| Source | Vendor | Product | Scheme | Affected versions |
|---|---|---|---|---|
| nvd | apache | tomcat | generic | ≥ 8.5.50 and ≤ 8.5.81 · ≥ 9.0.30 and ≤ 9.0.64 · ≥ 10.0.0 and ≤ 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 |
| osv | org.apache.tomcat | tomcat | generic | ≥ 8.5.50 and < 8.5.82 · ≥ 9.0.30 and < 9.0.65 · ≥ 10.0.0 and < 10.0.22 · ≥ 10.1.0 and < 10.1.0 |
References
Timeline
Timeline
| Published | 2022-06-23 | By the CVE Program. |
|---|---|---|
| VulnCheck KEV: earliest evidence | 2023-11-09 | Date of the oldest evidence of exploitation in VulnCheck KEV's record. VulnCheck does not publish the date it listed the CVE. |
| NVD record modified | 2026-10-08 | NVD's own last-modified date for this record. |