CVE-2022-34305
publishedXSS in examples web application
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Apache Software Foundation | — | 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 | Affected | Not stated | apache |
| Amazon Linux | AL2 | Release evaluationALAS2TOMCAT8.5-2023-003 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2 | tomcatnoarch | Listed in advisory | Not stated | ALAS2TOMCAT8.5-2023-003 |
| Amazon Linux | AL2 | tomcatsrc | Listed in advisory | Not stated | ALAS2TOMCAT8.5-2023-003 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Apache Software Foundation | Apache Tomcat | Apache Tomcat 8.5 8.5.50 to 8.5.81 (affected)Apache Tomcat 9 9.0.30 to 9.0.64 (affected)Apache Tomcat 10.0 10.0.0-M1 to 10.0.22 (affected)Apache Tomcat 10.1 10.1.0-M1 to 10.1.0-M16 (affected) | apache · cna |
Weaknesses
1- CWE-79 CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
4- [oss-security] 20220623 CVE-2022-34305: Apache Tomcat: XSS in examples web application http://www.openwall.com/lists/oss-security/2022/06/23/1
- https://lists.apache.org/thread/k04zk0nq6w57m72w5gb0r6z9ryhmvr4k
- GLSA-202208-34 https://security.gentoo.org/glsa/202208-34
- https://security.netapp.com/advisory/ntap-20220729-0006/
Provider assertions
3apache · cna
XSS in examples web application
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- cc603532d5ea01c8ec2e12db0170e0f00de4f52b45b0efd9f939c310acd6f8f1
- Ingested
- 09 Oct 2026, 16:22:05 UTC
- Source record
- Official CVE record