{"id":"GHSA-4c6x-gfc8-c26r","summary":"Apache Tomcat Vulnerable to Cross-Site Scripting","details":"Multiple cross-site scripting (XSS) vulnerabilities in the appdev/sample/web/hello.jsp example application in Tomcat 4.0.0 through 4.0.6, 4.1.0 through 4.1.36, 5.0.0 through 5.0.30, 5.5.0 through 5.5.23, and 6.0.0 through 6.0.10 allow remote attackers to inject arbitrary web script or HTML via the test parameter and unspecified vectors.","aliases":["CVE-2007-1355"],"modified":"2025-04-09T15:27:10.009557Z","published":"2022-05-01T17:52:51Z","database_specific":{"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2025-04-09T14:32:31Z","nvd_published_at":"2007-05-21T20:30:00Z","cwe_ids":["CWE-79"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2007-1355"},{"type":"WEB","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/34377"},{"type":"PACKAGE","url":"https://github.com/apache/tomcat"},{"type":"WEB","url":"https://lists.apache.org/thread.html/29dc6c2b625789e70a9c4756b5a327e6547273ff8bde7e0327af48c5%40%3Cdev.tomcat.apache.org%3E"},{"type":"WEB","url":"https://lists.apache.org/thread.html/29dc6c2b625789e70a9c4756b5a327e6547273ff8bde7e0327af48c5@%3Cdev.tomcat.apache.org%3E"},{"type":"WEB","url":"https://lists.apache.org/thread.html/c62b0e3a7bf23342352a5810c640a94b6db69957c5c19db507004d74%40%3Cdev.tomcat.apache.org%3E"},{"type":"WEB","url":"https://lists.apache.org/thread.html/c62b0e3a7bf23342352a5810c640a94b6db69957c5c19db507004d74@%3Cdev.tomcat.apache.org%3E"},{"type":"WEB","url":"https://lists.apache.org/thread.html/rb71997f506c6cc8b530dd845c084995a9878098846c7b4eacfae8db3%40%3Cdev.tomcat.apache.org%3E"},{"type":"WEB","url":"https://lists.apache.org/thread.html/rb71997f506c6cc8b530dd845c084995a9878098846c7b4eacfae8db3@%3Cdev.tomcat.apache.org%3E"},{"type":"WEB","url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A6111"},{"type":"WEB","url":"https://www.redhat.com/archives/fedora-package-announce/2007-November/msg00525.html"},{"type":"WEB","url":"http://community.ca.com/blogs/casecurityresponseblog/archive/2009/01/23.aspx"},{"type":"WEB","url":"http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c01178795"},{"type":"WEB","url":"http://lists.apple.com/archives/security-announce/2008//Jun/msg00002.html"},{"type":"WEB","url":"http://rhn.redhat.com/errata/RHSA-2008-0630.html"},{"type":"WEB","url":"http://sunsolve.sun.com/search/document.do?assetkey=1-26-239312-1"},{"type":"WEB","url":"http://support.apple.com/kb/HT2163"},{"type":"WEB","url":"http://support.ca.com/irj/portal/anonymous/phpsupcontent?contentID=197540"},{"type":"WEB","url":"http://tomcat.apache.org/security-4.html"},{"type":"WEB","url":"http://tomcat.apache.org/security-5.html"},{"type":"WEB","url":"http://tomcat.apache.org/security-6.html"},{"type":"WEB","url":"http://www.redhat.com/support/errata/RHSA-2008-0261.html"}],"affected":[{"package":{"name":"org.apache.tomcat:jsp-api","ecosystem":"Maven","purl":"pkg:maven/org.apache.tomcat/jsp-api"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.1.0"},{"fixed":"4.1.37"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-4c6x-gfc8-c26r/GHSA-4c6x-gfc8-c26r.json"}},{"package":{"name":"org.apache.tomcat:jsp-api","ecosystem":"Maven","purl":"pkg:maven/org.apache.tomcat/jsp-api"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.5.0"},{"fixed":"5.5.24"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-4c6x-gfc8-c26r/GHSA-4c6x-gfc8-c26r.json"}},{"package":{"name":"org.apache.tomcat:jsp-api","ecosystem":"Maven","purl":"pkg:maven/org.apache.tomcat/jsp-api"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.0.0"},{"fixed":"6.0.11"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-4c6x-gfc8-c26r/GHSA-4c6x-gfc8-c26r.json"}},{"package":{"name":"org.apache.tomcat:jsp-api","ecosystem":"Maven","purl":"pkg:maven/org.apache.tomcat/jsp-api"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.0.0"},{"last_affected":"5.0.30"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-4c6x-gfc8-c26r/GHSA-4c6x-gfc8-c26r.json"}},{"package":{"name":"org.apache.tomcat:jsp-api","ecosystem":"Maven","purl":"pkg:maven/org.apache.tomcat/jsp-api"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0"},{"last_affected":"4.0.6"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-4c6x-gfc8-c26r/GHSA-4c6x-gfc8-c26r.json"}},{"package":{"name":"org.apache.tomcat:servlet-api","ecosystem":"Maven","purl":"pkg:maven/org.apache.tomcat/servlet-api"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.1.0"},{"fixed":"4.1.37"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-4c6x-gfc8-c26r/GHSA-4c6x-gfc8-c26r.json"}},{"package":{"name":"org.apache.tomcat:servlet-api","ecosystem":"Maven","purl":"pkg:maven/org.apache.tomcat/servlet-api"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.5.0"},{"fixed":"5.5.24"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-4c6x-gfc8-c26r/GHSA-4c6x-gfc8-c26r.json"}},{"package":{"name":"org.apache.tomcat:servlet-api","ecosystem":"Maven","purl":"pkg:maven/org.apache.tomcat/servlet-api"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.0.0"},{"fixed":"6.0.11"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-4c6x-gfc8-c26r/GHSA-4c6x-gfc8-c26r.json"}},{"package":{"name":"org.apache.tomcat:servlet-api","ecosystem":"Maven","purl":"pkg:maven/org.apache.tomcat/servlet-api"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.0.0"},{"last_affected":"5.0.30"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-4c6x-gfc8-c26r/GHSA-4c6x-gfc8-c26r.json"}},{"package":{"name":"org.apache.tomcat:servlet-api","ecosystem":"Maven","purl":"pkg:maven/org.apache.tomcat/servlet-api"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0"},{"last_affected":"4.0.6"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-4c6x-gfc8-c26r/GHSA-4c6x-gfc8-c26r.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N"}]}