CVE-2022-34305Apache Tomcat
Medium 6.1 No auth neededHigh EPSS
Follow: this CVE · Apache · Apache Tomcat We alert you by email or Slack (account required).
- Priority
- 54
- CVSS 3.1
- 6.1
- EPSS
- 23.1% probability of exploitation in 30 days · percentile 98
- Auth required
- No
- Published
- Jun 23, 2022
- Updated
- Oct 8, 2026
- Category
- Server · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Tomcat.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.apache.tomcat:tomcat |
≥ 10.1.0-M1 < 10.1.0-M17 |
10.1.0-M17 |
— |
| Maven | org.apache.tomcat:tomcat |
≥ 10.0.0-M1 < 10.0.22 |
10.0.22 |
— |
| Maven | org.apache.tomcat:tomcat |
≥ 9.0.30 < 9.0.65 |
9.0.65 |
— |
| Maven | org.apache.tomcat:tomcat |
≥ 8.5.50 < 8.5.82 |
8.5.82 |
— |
Per OSV / GitHub Advisories (GHSA-6j88-6whg-x687). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | tomcat | ≥ 8.5.50 ≤ 8.5.81 |
| apache | tomcat | ≥ 9.0.30 ≤ 9.0.64 |
| apache | tomcat | ≥ 10.0.0 ≤ 10.0.22 |
| apache | tomcat | 10.1.0 |
| apache | tomcat | 10.1.0 |
| apache | tomcat | 10.1.0 |
| apache | tomcat | 10.1.0 |
| apache | tomcat | 10.1.0 |
| apache | tomcat | 10.1.0 |
| apache | tomcat | 10.1.0 |
| apache | tomcat | 10.1.0 |
| apache | tomcat | 10.1.0 |
| apache | tomcat | 10.1.0 |
| apache | tomcat | 10.1.0 |
| apache | tomcat | 10.1.0 |
| apache | tomcat | 10.1.0 |
| apache | tomcat | 10.1.0 |
| apache | tomcat | 10.1.0 |
| apache | tomcat | 10.1.0 |
Official sources
References
Links published by the sources. Open them with care.
- www.openwall.com Mailing List Third Party Advisory
- lists.apache.org Mailing List Release Notes Third Party Advisory
- security.gentoo.org Third Party Advisory
- security.netapp.com Third Party Advisory