CVE-2024-52318: Apache Tomcat: Incorrect JSP tag recycling leads to XSS
Description: The 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.
Versions Affected: - Apache Tomcat 11.0.0 - Apache Tomcat 10.1.31 - Apache Tomcat 9.0.96
Mitigation: Users of the affected versions should apply one of the following mitigations: - Upgrade to Apache Tomcat 11.0.1 or later - Upgrade to Apache Tomcat 10.1.33 or later Note: 10.1.32 was not released - Upgrade to Apache Tomcat 9.0.97 or later
Other sources
Incorrect object recycling and reuse vulnerability in Apache Tomcat.
This issue affects Apache Tomcat: 11.0.0, 10.1.31, 9.0.96.
Users are recommended to upgrade to version 11.0.1, 10.1.32 or 9.0.97, which fixes the issue.
— MITRE
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2024-52318?
CVE-2024-52318 is considered a critical vulnerability due to the potential for cross-site scripting (XSS) attacks.
How do I fix CVE-2024-52318?
To fix CVE-2024-52318, upgrade to Apache Tomcat version 9.0.97, 10.1.32, or 11.0.1.
What causes CVE-2024-52318?
CVE-2024-52318 is caused by pooled JSP tags not being released after use, which leads to unescaped output.
Which Apache Tomcat versions are affected by CVE-2024-52318?
The affected versions are Apache Tomcat 11.0.0, 10.1.31, and 9.0.96.
What type of vulnerability is CVE-2024-52318?
CVE-2024-52318 is an XSS vulnerability that can result from improperly escaped output in Apache Tomcat.