CVE-2009-2696 Cross-site scripting in n/a

Medium 4.3 Published Updated

Remote attackers can inject arbitrary web script via the time parameter in the Tomcat examples calendar application, requiring user interaction.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2009-2696?

CVE-2009-2696 is a medium-severity cross-site scripting vulnerability in Apache Tomcat, published on 5 Aug 2010. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Cross-site scripting (XSS) vulnerability in jsp/cal/cal2.jsp in the calendar application in the examples web application in Apache Tomcat on Red Hat Enterprise Linux 5, Desktop Workstation 5, and Linux Desktop 5 allows remote attackers to inject arbitrary web script or HTML via the time parameter, related to "invalid HTML." NOTE: this is due to a missing fix for CVE-2009-0781.

Weakness: CWE-79

Which versions are affected by CVE-2009-2696?

It affects 1 product.

Products include Apache Tomcat.

How do I fix CVE-2009-2696?

Apply the vendor's patch.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2009-2696 being exploited?

There is no known exploitation of CVE-2009-2696 in the wild and no public exploit code.

All Apache Tomcat vulnerabilities

Sources

Also known as GHSA-x75h-2jg7-ffxw.

Is CVE-2009-2696 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free