{"id":"CVE-2022-34305","published":"2022-06-23T10:30:16Z","modified":"2026-10-08T21:13:48Z","title":"XSS in examples web application","vendor":"Apache Software Foundation","product":"Apache Tomcat","tier":"core","eol":null,"affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache Tomcat","versions":["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"]}],"description":{"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.","provenance":"source","from":"CVE.org"},"summary":null,"cvss":null,"epss":{"score":0.06714,"percentile":0.93906,"date":"2026-10-29","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2023-11-09","exploitedFirstSeen":"2023-11-09","ransomware":false,"evidence":[{"url":"https://media.kasperskycontenthub.com/wp-content/uploads/sites/43/2023/11/09055246/Modern-Asian-APT-groups-TTPs_report_eng.pdf","date":"2023-11-09"}],"evidenceTotal":1,"provenance":"source"},"exploited":true,"otx":{"pulseCount":2,"pulses":[{"name":"ACTUALIZACION | Oracle Critical Patch Update Advisory - July 2023","url":"https://otx.alienvault.com/pulse/64bace8d5d470a6a7baaa8a9","created":"2023-07-21"},{"name":"Apache Tomcat Cross-Site Scripting Vulnerability","url":"https://otx.alienvault.com/pulse/62baee0f505e51504401127b","created":"2022-06-28"}],"provenance":"machine"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://lists.apache.org/thread/k04zk0nq6w57m72w5gb0r6z9ryhmvr4k","tags":["x_refsource_MISC"]},{"url":"http://www.openwall.com/lists/oss-security/2022/06/23/1","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","tags":["vendor-advisory","x_refsource_GENTOO"]}],"techniques":[],"reports":[],"affected":[{"ecosystem":"Maven","package":"org.apache.tomcat:tomcat","vulnerableRanges":[">=10.1.0-M1, <10.1.0-M17",">=10.0.0-M1, <10.0.22",">=9.0.30, <9.0.65",">=8.5.50, <8.5.82"],"patched":["10.1.0-M17","10.0.22","9.0.65","8.5.82"],"from":["GHSA-6j88-6whg-x687"],"provenance":"source"}],"advisories":[{"id":"GHSA-6j88-6whg-x687","url":"https://github.com/advisories/GHSA-6j88-6whg-x687","severity":"MODERATE","ecosystem":"Maven","package":"org.apache.tomcat:tomcat","vulnerableRanges":[">=10.1.0-M1, <10.1.0-M17"],"patched":["10.1.0-M17"],"provenance":"source","from":"GHSA"},{"id":"GHSA-6j88-6whg-x687","url":"https://github.com/advisories/GHSA-6j88-6whg-x687","severity":"MODERATE","ecosystem":"Maven","package":"org.apache.tomcat:tomcat","vulnerableRanges":[">=10.0.0-M1, <10.0.22"],"patched":["10.0.22"],"provenance":"source","from":"GHSA"},{"id":"GHSA-6j88-6whg-x687","url":"https://github.com/advisories/GHSA-6j88-6whg-x687","severity":"MODERATE","ecosystem":"Maven","package":"org.apache.tomcat:tomcat","vulnerableRanges":[">=9.0.30, <9.0.65"],"patched":["9.0.65"],"provenance":"source","from":"GHSA"},{"id":"GHSA-6j88-6whg-x687","url":"https://github.com/advisories/GHSA-6j88-6whg-x687","severity":"MODERATE","ecosystem":"Maven","package":"org.apache.tomcat:tomcat","vulnerableRanges":[">=8.5.50, <8.5.82"],"patched":["8.5.82"],"provenance":"source","from":"GHSA"}],"euvd":{"id":"EUVD-2022-5963","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-5963","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":{"nuclei":[{"id":"CVE-2022-34305","name":"Apache Tomcat Examples Web Application - Cross-Site Scripting","severity":"medium","path":"http/cves/2022/CVE-2022-34305.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-34305.yaml"}],"provenance":"source"},"exploitRefs":[],"flow":[],"timeline":[{"date":"2022-06-23","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2022-34305","provenance":"source"},{"date":"2023-11-09","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://media.kasperskycontenthub.com/wp-content/uploads/sites/43/2023/11/09055246/Modern-Asian-APT-groups-TTPs_report_eng.pdf","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":null,"daysToKev":null},"priority":{"score":59.9,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":0.0,"detail":"added 1085 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":18.78,"detail":"percentile 0.9391"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 nuclei template"},{"name":"Mentioned in OTX pulses","points":1.08,"detail":"2 pulses"},{"name":"CVSS severity","points":0.0,"detail":"no CVSS"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]},"lineage":{"packageHistory":[{"cve":"CVE-2022-23181","published":"2022-01-27","fixed":"10.0.16","kev":false},{"cve":"CVE-2021-43980","published":"2022-09-28","fixed":"10.1.0-M14","kev":false},{"cve":"CVE-2022-29885","published":"2022-05-12","fixed":"10.1.0-M15","kev":false,"link":{"from":"CVE-2022-29885","to":"CVE-2022-34305","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.apache.tomcat:tomcat","fromFixed":"9.0.63","toFixed":"9.0.65","daysApart":42},{"kind":"version-step","provenance":"source","package":"Maven:org.apache.tomcat:tomcat","fromFixed":"8.5.79","toFixed":"8.5.82","daysApart":42}]}},{"cve":"CVE-2022-34305","published":"2022-06-23","fixed":"10.1.0-M17","kev":false},{"cve":"CVE-2021-42340","published":"2021-10-14","fixed":"10.1.0-M6","kev":false},{"cve":"CVE-2023-41080","published":"2023-08-25","fixed":"11.0.0-M11","kev":false,"link":{"from":"CVE-2022-34305","to":"CVE-2023-41080","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.apache.tomcat:tomcat","fromFixed":"9.0.65","toFixed":"9.0.80","daysApart":428},{"kind":"version-step","provenance":"source","package":"Maven:org.apache.tomcat:tomcat","fromFixed":"8.5.82","toFixed":"8.5.93","daysApart":428}]}},{"cve":"CVE-2023-42795","published":"2023-10-10","fixed":"11.0.0-M12","kev":false}],"package":"Maven:org.apache.tomcat:tomcat"}}