6.1medium
XSS in examples web application
- Severity
- 6.1medium CVSS:3.1 by NVD
- Exploit likelihood
- 23.1% (higher than 98% of CVEs)
- Published
- Last changed
- Assigned by
- apache
- Also known as
- GHSA-6j88-6whg-x687BIT-TOMCAT-2022-34305
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| 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 | CVE List |
| 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 | GitHub Advisory Database |
| 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 | NVD |
| 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 | Bitnami Vulnerability Database |
All scores
| GitHub | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 4.3medium CVSS:2.0 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En Apache Tomcat versiones 10.1.0-M1 a 10.1.0-M16, 10.0.0-M1 a 10.0.22, 9.0.30 a 9.0.64 y 8.5.50 a 8.5.81, el ejemplo de autenticación de formularios en la aplicación web de ejemplos mostraba los datos proporcionados por el usuario sin filtrar, exponiendo una vulnerabilidad de tipo XSS
Bitnami Vulnerability Database
In Apache Tomcat 10.1.0 to 10.1.0, 10.0.0 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.
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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-34305 changed 2026-10-08 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-6j88-6whg-x687 changed 2024-02-21 | CC-BY-4.0 |
| NVD | CVE-2022-34305 changed 2026-10-08 | Public domain |
| Bitnami Vulnerability Database | BIT-TOMCAT-2022-34305 changed 2026-09-08 | Apache-2.0 |