Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.apache.tomcat/tomcat-jasper
  4. ›
  5. CVE-2024-52318

CVE-2024-52318: Apache Tomcat - XSS in generated JSPs

November 18, 2024 (updated January 31, 2025)

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

References

  • bz.apache.org/bugzilla/show_bug.cgi?id=69333
  • github.com/advisories/GHSA-f632-9449-3j4w
  • github.com/apache/tomcat
  • github.com/apache/tomcat/commit/8d1fc4733a06d1a03b9d644c57010f2ec5f0df38
  • github.com/apache/tomcat/commit/9813c5dd3259183f659bbb83312a5cf673cc1ebf
  • github.com/apache/tomcat/commit/be8e32143a3159e78fe5463d09bb8e1b33bf2b1f
  • lists.apache.org/thread/co243cw1nlh6p521c5265cm839wkqdp9
  • nvd.nist.gov/vuln/detail/CVE-2024-52318
  • security.netapp.com/advisory/ntap-20250131-0009

Code Behaviors & Features

Detect and mitigate CVE-2024-52318 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 9.0.96 before 9.0.97, version 9.0.96, all versions starting from 10.1.31 before 10.1.32, version 10.1.31, all versions starting from 11.0.0 before 11.0.1, version 11.0.0

Fixed versions

  • 11.0.1
  • 10.1.32
  • 9.0.97

Solution

Upgrade to versions 10.1.32, 11.0.1, 9.0.97 or above.

Impact 6.1 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-326: Inadequate Encryption Strength

Source file

maven/org.apache.tomcat/tomcat-jasper/CVE-2024-52318.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:42 +0000.