CVE-2024-52318: Apache Tomcat - XSS in generated JSPs
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
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 →