{"id":"CVE-2022-34305","state":"PUBLISHED","title":"XSS in examples web application","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.","publishedAt":"2022-06-23T10:30:16.000Z","updatedAt":"2026-10-08T21:13:48.481Z","severity":null,"assigner":"apache","products":["Apache Software Foundation Apache Tomcat"],"affected":[{"vendor":"Apache Software Foundation","product":"Apache Tomcat","versions":[{"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"}]}],"references":["https://lists.apache.org/thread/k04zk0nq6w57m72w5gb0r6z9ryhmvr4k","http://www.openwall.com/lists/oss-security/2022/06/23/1","https://security.netapp.com/advisory/ntap-20220729-0006/","https://security.gentoo.org/glsa/202208-34"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T19:50:14.780Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/34xxx/CVE-2022-34305.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2022-34305","state":"PUBLISHED","datePublished":"2022-06-23T10:30:16.000Z","dateUpdated":"2026-10-08T21:13:48.481Z","assignerShortName":"apache","assignerOrgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","dateReserved":"2022-06-22T00:00:00.000Z"},"containers":{"cna":{"title":"XSS in examples web application","descriptions":[{"lang":"en","value":"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":[{"vendor":"Apache Software Foundation","product":"Apache Tomcat","versions":[{"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"}]}],"references":[{"url":"https://lists.apache.org/thread/k04zk0nq6w57m72w5gb0r6z9ryhmvr4k","tags":["x_refsource_MISC"]},{"url":"http://www.openwall.com/lists/oss-security/2022/06/23/1","name":"[oss-security] 20220623 CVE-2022-34305: Apache Tomcat: XSS in examples web application","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://security.netapp.com/advisory/ntap-20220729-0006/","tags":["x_refsource_CONFIRM"]},{"url":"https://security.gentoo.org/glsa/202208-34","name":"GLSA-202208-34","tags":["vendor-advisory","x_refsource_GENTOO"]}],"metrics":[{"other":{"content":{"other":"low"},"type":"unknown"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","description":"CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"apache","dateUpdated":"2022-08-21T04:06:10.000Z","orgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09"},"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 0.0.9"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security@apache.org","ID":"CVE-2022-34305","STATE":"PUBLIC","TITLE":"XSS in examples web application"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"Apache Tomcat","version":{"version_data":[{"version_affected":"=","version_name":"Apache Tomcat 8.5","version_value":"8.5.50 to 8.5.81"},{"version_affected":"=","version_name":"Apache Tomcat 9","version_value":"9.0.30 to 9.0.64"},{"version_affected":"=","version_name":"Apache Tomcat 10.0","version_value":"10.0.0-M1 to 10.0.22"},{"version_affected":"=","version_name":"Apache Tomcat 10.1","version_value":"10.1.0-M1 to 10.1.0-M16"}]}}]},"vendor_name":"Apache Software Foundation"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"generator":{"engine":"Vulnogram 0.0.9"},"impact":[{"other":"low"}],"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')"}]}]},"references":{"reference_data":[{"name":"https://lists.apache.org/thread/k04zk0nq6w57m72w5gb0r6z9ryhmvr4k","refsource":"MISC","url":"https://lists.apache.org/thread/k04zk0nq6w57m72w5gb0r6z9ryhmvr4k"},{"name":"[oss-security] 20220623 CVE-2022-34305: Apache Tomcat: XSS in examples web application","refsource":"MLIST","url":"http://www.openwall.com/lists/oss-security/2022/06/23/1"},{"name":"https://security.netapp.com/advisory/ntap-20220729-0006/","refsource":"CONFIRM","url":"https://security.netapp.com/advisory/ntap-20220729-0006/"},{"name":"GLSA-202208-34","refsource":"GENTOO","url":"https://security.gentoo.org/glsa/202208-34"}]},"source":{"discovery":"UNKNOWN"}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://lists.apache.org/thread/k04zk0nq6w57m72w5gb0r6z9ryhmvr4k","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2022/06/23/1","name":"[oss-security] 20220623 CVE-2022-34305: Apache Tomcat: XSS in examples web application","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://security.netapp.com/advisory/ntap-20220729-0006/","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://security.gentoo.org/glsa/202208-34","name":"GLSA-202208-34","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T09:07:16.126Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2022-34305","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2026-10-08T21:04:51.567483Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-08T21:13:48.481Z"}}]}}}