Skip to main content
EPSS 1.7%top 22%

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

0
Medium
Published: 11/20/2024 (11/20/2024, 07:19:59 UTC)
Source: GCVE Database
Product: tomcat

Description

Apache Tomcat contains an incorrect object recycling and reuse vulnerability affecting certain versions. This flaw can lead to cross-site scripting (XSS) due to improper JSP tag recycling. The issue impacts Apache Tomcat versions 9.0.96, 10.1.31, and 11.0.0 within specified ranges. Fixed versions are available and users are advised to upgrade to 9.0.97, 10.1.32, or 11.0.1 or later to remediate the vulnerability.

Affected software

Bitnamimore threats →ghsa
tomcat
pkg:bitnami/tomcat
Affected versions
>=9.0.96 <9.0.97>=10.1.31 <10.1.33>=11.0.0 <11.0.9

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/08/2026, 13:13:14 UTC

Technical Analysis

CVE-2024-52318 is a vulnerability in Apache Tomcat involving incorrect recycling and reuse of JSP tags, which can result in cross-site scripting (XSS). The affected versions include 9.0.96, 10.1.31, and 11.0.0 up to but not including 9.0.97, 10.1.33, and 11.0.9 respectively. The issue is resolved in versions 9.0.97, 10.1.32, and 11.0.1. This vulnerability arises from improper object lifecycle management in the JSP engine, leading to potential injection of malicious scripts.

Potential Impact

The vulnerability allows an attacker to exploit improper JSP tag recycling, potentially leading to cross-site scripting (XSS) attacks. This could enable attackers to execute arbitrary scripts in the context of the affected web application, potentially compromising user sessions or data. No known exploits are reported in the wild at this time.

Mitigation Recommendations

A patch is available. Users should upgrade affected Apache Tomcat installations to versions 9.0.97, 10.1.32, or 11.0.1 or later to remediate this vulnerability. Applying these official fixes eliminates the risk associated with this issue.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
BIT-tomcat-2024-52318
Osv Schema Version
1.5.0
Aliases
CVE-2024-52318
Ecosystems
Bitnami
Database Specific Severity
Medium

Threat ID: 6aa005b8acd9273b49ab59e7

Added to database: 09/08/2026, 12:55:20 UTC

Last enriched: 09/08/2026, 13:13:14 UTC

Last updated: 10/24/2026, 08:45:07 UTC

Views: 43

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses