Skip to content

Cross-site scripting in Apache Tomcat

Moderate severity GitHub Reviewed Published May 2, 2022 to the GitHub Advisory Database • Updated Feb 13, 2023

Package

maven org.apache.tomcat:tomcat (Maven)

Affected versions

>= 4.1.0, <= 4.1.39
>= 5.5.0, <= 5.5.27
>= 6.0.0, <= 6.0.18

Patched versions

6.0.20

Description

Cross-site scripting (XSS) vulnerability in jsp/cal/cal2.jsp in the calendar application in the examples web application in Apache Tomcat 4.1.0 through 4.1.39, 5.5.0 through 5.5.27, and 6.0.0 through 6.0.18 allows remote attackers to inject arbitrary web script or HTML via the time parameter, related to "invalid HTML."

References

Published by the National Vulnerability Database Mar 9, 2009
Published to the GitHub Advisory Database May 2, 2022
Reviewed Jun 17, 2022
Last updated Feb 13, 2023

Severity

Moderate

EPSS score

Exploit Prediction Scoring System (EPSS)

This score estimates the probability of this vulnerability being exploited within the next 30 days. Data provided by FIRST.
(95th percentile)

Weaknesses

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. Learn more on MITRE.

CVE ID

CVE-2009-0781

GHSA ID

GHSA-j788-fx57-99wp

Source code

No known source code
Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.