apache/tomcat · Security

Apache Tomcat - XSS in generated JSPs

GHSA ID
GHSA-f632-9449-3j4w
CVE ID
CVE-2024-52318
Severity
medium
Published
Updated
CVSS
6.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVSS v3
6.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Description

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

CWEs

References