{"id":"CVE-2022-34305","aliases":["CVE-2022-34305","GHSA-6j88-6whg-x687","BIT-TOMCAT-2022-34305"],"related":[],"kind":"vulnerability","state":"published","title":"XSS in examples web application","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"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","source":"nvd"},{"lang":"en","text":"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.","format":"markdown","source":"bitnami"}],"published":"2022-06-23T10:30:16.000Z","modified":"2026-10-08T22:17:21.903Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","score":4.3,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"Apache Tomcat 8.5 8.5.50 to 8.5.81","status":"affected"},{"version":"Apache Tomcat 9 9.0.30 to 9.0.64","status":"affected"},{"version":"Apache Tomcat 10.0 10.0.0-M1 to 10.0.22","status":"affected"},{"version":"Apache Tomcat 10.1 10.1.0-M1 to 10.1.0-M16","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache Tomcat","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"10.1.0-M1","status":"affected","fixed":"10.1.0-M17"}],"ecosystem":"Maven","package":"org.apache.tomcat:tomcat","purl":"pkg:maven/org.apache.tomcat/tomcat","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"10.0.0-M1","status":"affected","fixed":"10.0.22"}],"ecosystem":"Maven","package":"org.apache.tomcat:tomcat","purl":"pkg:maven/org.apache.tomcat/tomcat","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"9.0.30","status":"affected","fixed":"9.0.65"}],"ecosystem":"Maven","package":"org.apache.tomcat:tomcat","purl":"pkg:maven/org.apache.tomcat/tomcat","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"8.5.50","status":"affected","fixed":"8.5.82"}],"ecosystem":"Maven","package":"org.apache.tomcat:tomcat","purl":"pkg:maven/org.apache.tomcat/tomcat","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"8.5.50","lastAffected":"8.5.81"},{"status":"affected","introduced":"9.0.30","lastAffected":"9.0.64"},{"status":"affected","introduced":"10.0.0","lastAffected":"10.0.22"},{"status":"affected","version":"10.1.0"},{"status":"affected","version":"10.1.0"},{"status":"affected","version":"10.1.0"},{"status":"affected","version":"10.1.0"},{"status":"affected","version":"10.1.0"},{"status":"affected","version":"10.1.0"},{"status":"affected","version":"10.1.0"},{"status":"affected","version":"10.1.0"},{"status":"affected","version":"10.1.0"},{"status":"affected","version":"10.1.0"},{"status":"affected","version":"10.1.0"},{"status":"affected","version":"10.1.0"},{"status":"affected","version":"10.1.0"},{"status":"affected","version":"10.1.0"},{"status":"affected","version":"10.1.0"},{"status":"affected","version":"10.1.0"}],"vendor":"apache","product":"tomcat","cpe":"cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"8.5.50","status":"affected","fixed":"8.5.82"},{"type":"semver","introduced":"9.0.30","status":"affected","fixed":"9.0.65"},{"type":"semver","introduced":"10.0.0","status":"affected","fixed":"10.0.23"}],"ecosystem":"Bitnami","package":"tomcat","purl":"pkg:bitnami/tomcat","source":"bitnami"}],"references":[{"url":"https://lists.apache.org/thread/k04zk0nq6w57m72w5gb0r6z9ryhmvr4k","tags":["advisory","mailing-list","release-notes","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"http://www.openwall.com/lists/oss-security/2022/06/23/1","tags":["advisory","mailing-list","third-party-advisory","web","x-refsource-mlist","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://security.netapp.com/advisory/ntap-20220729-0006/","tags":["advisory","third-party-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://security.gentoo.org/glsa/202208-34","tags":["advisory","third-party-advisory","vendor-advisory","web","x-refsource-gentoo","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-34305","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://security.netapp.com/advisory/ntap-20220729-0006","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"apache","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-10-08T21:04:51.567Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-34305","url":"https://www.cve.org/CVERecord?id=CVE-2022-34305","licence":"CVE Terms of Use","modified":"2026-10-08T21:13:48.481Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-6j88-6whg-x687","url":"https://github.com/advisories/GHSA-6j88-6whg-x687","licence":"CC-BY-4.0","modified":"2024-02-21T05:33:07.078Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-34305","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-34305","licence":"Public domain","modified":"2026-10-08T22:17:21.903Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-TOMCAT-2022-34305","url":"https://osv.dev/vulnerability/BIT-TOMCAT-2022-34305","licence":"Apache-2.0","modified":"2026-09-08T08:48:20.743Z"}],"updatedAt":"2026-11-25T22:58:12.490Z","epss":{"score":0.23133,"percentile":0.98261,"date":"2026-11-28T12:00:21.000Z"}}