Skip to content
OpenAdvisories
Medium CVE-2009-0781 EUVD-2022-4299GHSA-j788-fx57-99wp

Cross-site scripting in Apache Tomcat

Published Mar 9, 2009 · Updated Aug 7, 2024 · Assigned by redhat

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."

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 5.0 tomcat5.5 5.5.26-5lenny2 DSA-2207-1
ReleasePackageFixed inAdvisory
RHEL 5 tomcat5 +10 5.5.23-0jpp.7.el5_3.2 RHSA-2009:1164
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat Rhel Application Server 2 tomcat5 +10 5.5.23-0jpp_4rh.16 RHSA-2009:1562

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.apache.tomcat:tomcat >= 4.1.0, <= 4.1.39 — GHSA-j788-fx57-99wp
Maven org.apache.tomcat:tomcat >= 5.5.0, <= 5.5.27 — GHSA-j788-fx57-99wp
Maven org.apache.tomcat:tomcat >= 6.0.0, < 6.0.20 6.0.20 GHSA-j788-fx57-99wp

Advisories 3

References