CVE-2024-52318: Apache Tomcat: Incorrect JSP tag recycling leads to XSS

Published Nov 18, 2024
·
Updated

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

7 affected componentsFixes available
maven/org.apache.tomcat:tomcat-jasper=9.0.96
9.0.97
maven/org.apache.tomcat:tomcat-jasper=10.1.31
10.1.32
maven/org.apache.tomcat:tomcat-jasper=11.0.0
11.0.1
F5 Traffix SDC=5.2.0
Apache Tomcat=9.0.96
Apache Tomcat=10.1.31
Apache Tomcat=11.0.0

Event History

Nov 18, 2024
CVE Published
via MITRE·12:21 PM
Data Sourced
via MITRE·12:21 PM
DescriptionWeakness
Data Sourced
via NVD·01:15 PM
DescriptionSeverityWeakness
Advisory Published
via GitHub·03:33 PM
Feb 19, 2025
Advisory Published
via F5·06:23 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

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.

2

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.

3

What causes CVE-2024-52318?

CVE-2024-52318 is caused by pooled JSP tags not being released after use, which leads to unescaped output.

4

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.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203