Skip to content
OpenAdvisories
Medium · 6.1 Public exploit CVE-2024-52318 BIT-tomcat-2024-52318EUVD-2024-3243GHSA-f632-9449-3j4w

Apache Tomcat: Incorrect JSP tag recycling leads to XSS

Published Nov 18, 2024 · Updated Jan 31, 2025 · Assigned by apache

Description

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.

Affected products

VendorProductAffectedFixed
Apache Software Foundation Apache Tomcat 11.0.0, 10.1.31, 9.0.96 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 tomcat10 10.1.33-1 —
Debian 13 tomcat10 10.1.33-1 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.apache.tomcat:tomcat >= 11.0.0, < 11.0.1 11.0.1 GHSA-f632-9449-3j4w
Maven org.apache.tomcat:tomcat >= 10.1.31, < 10.1.32 10.1.32 GHSA-f632-9449-3j4w
Maven org.apache.tomcat:tomcat >= 9.0.96, < 9.0.97 9.0.97 GHSA-f632-9449-3j4w
Maven org.apache.tomcat:tomcat-jasper >= 11.0.0, < 11.0.1 11.0.1 GHSA-f632-9449-3j4w
Maven org.apache.tomcat:tomcat-jasper >= 10.1.31, < 10.1.32 10.1.32 GHSA-f632-9449-3j4w
Maven org.apache.tomcat:tomcat-jasper >= 9.0.96, < 9.0.97 9.0.97 GHSA-f632-9449-3j4w
Maven org.apache.tomcat.embed:tomcat-embed-jasper >= 9.0.96, < 9.0.97 9.0.97 GHSA-f632-9449-3j4w
Maven org.apache.tomcat.embed:tomcat-embed-jasper >= 11.0.0, < 11.0.1 11.0.1 GHSA-f632-9449-3j4w
Maven org.apache.tomcat.embed:tomcat-embed-jasper >= 10.1.31, < 10.1.32 10.1.32 GHSA-f632-9449-3j4w

Advisories 2

References