{"id":"CVE-2024-52318","aliases":["BIT-tomcat-2024-52318","GHSA-f632-9449-3j4w"],"url":"https://o3.security/vulnerability/CVE-2024-52318","summary":"Apache Tomcat: Incorrect JSP tag recycling leads to XSS","details":"# Description:\nThe fix for improvement 69333 caused pooled JSP tags not to be released after use which in turn could cause output of some tags not to escaped as expected. This unescaped output could lead to XSS.\n\n# Versions Affected:\n- Apache Tomcat 11.0.0\n- Apache Tomcat 10.1.31\n- Apache Tomcat 9.0.96\n\n# Mitigation:\nUsers of the affected versions should apply one of the following\nmitigations:\n- Upgrade to Apache Tomcat 11.0.1 or later\n- Upgrade to Apache Tomcat 10.1.33 or later\nNote: 10.1.32 was not released\n- Upgrade to Apache Tomcat 9.0.97 or later","published":"2024-11-18T12:21:39.170Z","modified":"2026-08-12T03:51:17.710367829Z","cvss":{"score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Maven","name":"org.apache.tomcat:tomcat-jasper","fixedVersion":"11.0.1"},{"ecosystem":"Maven","name":"org.apache.tomcat:tomcat-jasper","fixedVersion":"10.1.32"},{"ecosystem":"Maven","name":"org.apache.tomcat.embed:tomcat-embed-jasper","fixedVersion":"9.0.97"},{"ecosystem":"Maven","name":"org.apache.tomcat.embed:tomcat-embed-jasper","fixedVersion":"11.0.1"},{"ecosystem":"Maven","name":"org.apache.tomcat.embed:tomcat-embed-jasper","fixedVersion":"10.1.32"},{"ecosystem":"Maven","name":"org.apache.tomcat:tomcat-jasper","fixedVersion":"9.0.97"},{"ecosystem":"Maven","name":"org.apache.tomcat:tomcat","fixedVersion":"11.0.1"},{"ecosystem":"Maven","name":"org.apache.tomcat:tomcat","fixedVersion":"10.1.32"},{"ecosystem":"Maven","name":"org.apache.tomcat:tomcat","fixedVersion":"9.0.97"}],"fix":{"url":"https://github.com/apache/tomcat/commit/8d1fc4733a06d1a03b9d644c57010f2ec5f0df38","label":"apache/tomcat@8d1fc47"},"references":[{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2024/11/18/4"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/52xxx/CVE-2024-52318.json"},{"type":"ADVISORY","url":"https://lists.apache.org/thread/co243cw1nlh6p521c5265cm839wkqdp9"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-52318"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20250131-0009/"},{"type":"WEB","url":"https://github.com/apache/tomcat/commit/8d1fc4733a06d1a03b9d644c57010f2ec5f0df38"},{"type":"WEB","url":"https://github.com/apache/tomcat/commit/9813c5dd3259183f659bbb83312a5cf673cc1ebf"},{"type":"WEB","url":"https://github.com/apache/tomcat/commit/be8e32143a3159e78fe5463d09bb8e1b33bf2b1f"},{"type":"WEB","url":"https://bz.apache.org/bugzilla/show_bug.cgi?id=69333"},{"type":"PACKAGE","url":"https://github.com/apache/tomcat"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20250131-0009"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:17.710367829Z"}}