CVE-2022-34305: XSS in examples web application

Published Jun 23, 2022
·
Updated

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 Software

19 affected components
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-milestone1
Apache Tomcat=10.1.0-milestone10
Apache Tomcat=10.1.0-milestone11
Apache Tomcat=10.1.0-milestone12
Apache Tomcat=10.1.0-milestone13
Apache Tomcat=10.1.0-milestone14
Apache Tomcat=10.1.0-milestone15
Apache Tomcat=10.1.0-milestone16
Apache Tomcat=10.1.0-milestone2
Apache Tomcat=10.1.0-milestone3
Apache Tomcat=10.1.0-milestone4
Apache Tomcat=10.1.0-milestone5
Apache Tomcat=10.1.0-milestone6
Apache Tomcat=10.1.0-milestone7
Apache Tomcat=10.1.0-milestone8
Apache Tomcat=10.1.0-milestone9

Event History

Jun 23, 2022
CVE Published
via MITRE·10:30 AM
Data Sourced
via MITRE·10:30 AM
DescriptionWeakness

Frequently Asked Questions

1

What is the vulnerability ID?

The vulnerability ID is CVE-2022-34305.

2

What is the severity of CVE-2022-34305?

CVE-2022-34305 has a severity level of 6.1 (Medium).

3

Which software versions are affected by CVE-2022-34305?

CVE-2022-34305 affects Apache Tomcat versions 8.5.50 to 8.5.81, 9.0.30 to 9.0.64, and 10.0.0-M1 to 10.0.22.

4

What is the vulnerability in Apache Tomcat?

The vulnerability in Apache Tomcat is a Cross-Site Scripting (XSS) vulnerability caused by user-provided data not being properly filtered in the Form authentication example in the examples web application.

5

Are there any references for CVE-2022-34305?

Yes, you can find references for CVE-2022-34305 at the following links: [Reference 1](http://www.openwall.com/lists/oss-security/2022/06/23/1), [Reference 2](https://lists.apache.org/thread/k04zk0nq6w57m72w5gb0r6z9ryhmvr4k), [Reference 3](https://security.gentoo.org/glsa/202208-34)

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203