{"id":"UBUNTU-CVE-2022-34305","details":"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.","modified":"2026-06-10T09:45:11.376681411Z","published":"2022-06-23T11:15:00Z","upstream":["CVE-2022-34305"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-34305"},{"type":"REPORT","url":"https://lists.apache.org/thread/k04zk0nq6w57m72w5gb0r6z9ryhmvr4k"},{"type":"REPORT","url":"https://github.com/apache/tomcat/commit/8b60af90b99945379c2d1003277e0cabc6776bac"},{"type":"REPORT","url":"https://github.com/apache/tomcat/commit/5f6c88b054b0e4fbccff8b7f15974ed55d59a9f7"},{"type":"REPORT","url":"http://www.openwall.com/lists/oss-security/2022/06/23/1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-34305"}],"affected":[{"package":{"name":"tomcat9","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/tomcat9?arch=source&distro=esm-apps%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["9.0.24-1","9.0.27-1","9.0.31-1","9.0.31-1ubuntu0.1","9.0.31-1ubuntu0.2","9.0.31-1ubuntu0.3","9.0.31-1ubuntu0.4","9.0.31-1ubuntu0.5","9.0.31-1ubuntu0.6","9.0.31-1ubuntu0.7","9.0.31-1ubuntu0.8","9.0.31-1ubuntu0.9","9.0.31-1ubuntu0.9+esm1","9.0.31-1ubuntu0.9+esm2","9.0.31-1ubuntu0.9+esm3"],"ecosystem_specific":{"binaries":[{"binary_version":"9.0.31-1ubuntu0.9+esm3","binary_name":"libtomcat9-embed-java"},{"binary_name":"libtomcat9-java","binary_version":"9.0.31-1ubuntu0.9+esm3"},{"binary_version":"9.0.31-1ubuntu0.9+esm3","binary_name":"tomcat9"},{"binary_version":"9.0.31-1ubuntu0.9+esm3","binary_name":"tomcat9-admin"},{"binary_name":"tomcat9-common","binary_version":"9.0.31-1ubuntu0.9+esm3"},{"binary_name":"tomcat9-docs","binary_version":"9.0.31-1ubuntu0.9+esm3"},{"binary_version":"9.0.31-1ubuntu0.9+esm3","binary_name":"tomcat9-examples"},{"binary_name":"tomcat9-user","binary_version":"9.0.31-1ubuntu0.9+esm3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-34305.json"}},{"package":{"name":"tomcat9","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/tomcat9?arch=source&distro=esm-apps%2Fjammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["9.0.43-3","9.0.54-1","9.0.55-1","9.0.58-1","9.0.58-1ubuntu0.1","9.0.58-1ubuntu0.1+esm1","9.0.58-1ubuntu0.1+esm2","9.0.58-1ubuntu0.1+esm3","9.0.58-1ubuntu0.1+esm4","9.0.58-1ubuntu0.2","9.0.58-1ubuntu0.2+esm1","9.0.58-1ubuntu0.2+esm2","9.0.58-1ubuntu0.2+esm3","9.0.58-1ubuntu0.2+esm4"],"ecosystem_specific":{"binaries":[{"binary_version":"9.0.58-1ubuntu0.2+esm4","binary_name":"libtomcat9-embed-java"},{"binary_version":"9.0.58-1ubuntu0.2+esm4","binary_name":"libtomcat9-java"},{"binary_version":"9.0.58-1ubuntu0.2+esm4","binary_name":"tomcat9"},{"binary_version":"9.0.58-1ubuntu0.2+esm4","binary_name":"tomcat9-admin"},{"binary_version":"9.0.58-1ubuntu0.2+esm4","binary_name":"tomcat9-common"},{"binary_name":"tomcat9-docs","binary_version":"9.0.58-1ubuntu0.2+esm4"},{"binary_name":"tomcat9-examples","binary_version":"9.0.58-1ubuntu0.2+esm4"},{"binary_name":"tomcat9-user","binary_version":"9.0.58-1ubuntu0.2+esm4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-34305.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"type":"Ubuntu","score":"low"}]}