# CVE-2022-34305: XSS in examples web application

- Severity: Medium 6.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 23.1%, higher than 98% of CVEs (2026-11-28)
- Published: 2022-06-23T10:30:16.000Z
- Modified: 2026-10-08T22:17:21.903Z
- Also known as: GHSA-6j88-6whg-x687, BIT-TOMCAT-2022-34305
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: apache

## 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.

(As written by CVE List.)

## Affected

- Apache Software Foundation Apache Tomcat: Apache 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
- org.apache.tomcat:tomcat (Maven): from 10.1.0-M1 before 10.1.0-M17; from 10.0.0-M1 before 10.0.22; from 9.0.30 before 9.0.65; from 8.5.50 before 8.5.82
- apache tomcat: from 8.5.50 up to 8.5.81; from 9.0.30 up to 9.0.64; from 10.0.0 up to 10.0.22; 10.1.0
- tomcat (Bitnami): from 8.5.50 before 8.5.82; from 9.0.30 before 9.0.65; from 10.0.0 before 10.0.23

## Every score

- GitHub: 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: 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: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://lists.apache.org/thread/k04zk0nq6w57m72w5gb0r6z9ryhmvr4k> (advisory, mailing-list, release-notes, third-party-advisory, web)
- <http://www.openwall.com/lists/oss-security/2022/06/23/1> (advisory, mailing-list, third-party-advisory, web)
- <https://security.netapp.com/advisory/ntap-20220729-0006/> (advisory, third-party-advisory)
- <https://security.gentoo.org/glsa/202208-34> (advisory, third-party-advisory, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-34305> (advisory, web)
- <https://security.netapp.com/advisory/ntap-20220729-0006> (web)

## Sources

- CVE List: [CVE-2022-34305](https://www.cve.org/CVERecord?id=CVE-2022-34305), CVE Terms of Use, modified 2026-10-08
- GitHub Advisory Database: [GHSA-6j88-6whg-x687](https://github.com/advisories/GHSA-6j88-6whg-x687), CC-BY-4.0, modified 2024-02-21
- NVD: [CVE-2022-34305](https://nvd.nist.gov/vuln/detail/CVE-2022-34305), Public domain, modified 2026-10-08
- Bitnami Vulnerability Database: [BIT-TOMCAT-2022-34305](https://osv.dev/vulnerability/BIT-TOMCAT-2022-34305), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2022-34305 · Whole record: https://cve.day/CVE-2022-34305.json · Rebuilt by cve.day 2026-11-25T22:58:12.490Z
