← Vulnerability feed

Vulnerability record · CVE-2006-7196 · published 10 May 2007

CVE-2006-7196: Apache Tomcat calendar example XSS via time parameter

Apache · Tomcat

The calendar example application shipped with Apache Tomcat 4.0.x, 4.1.x, 5.0.x and 5.5.x fails to sanitize the time parameter passed to cal2.jsp, allowing reflected cross-site scripting. Because the vulnerable code is a sample application bundled with the server, any deployment that leaves the examples webapp reachable is exposed to script injection in a victim's browser.

4.3 CVSS 2.0 Medium EPSS 72% · top 0.6% CWE-79 · Cross-site scripting
4.3CVSS 2.0 base score
72%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
40References
16 Jun 2026Last modified by NVD

Description

Cross-site scripting (XSS) vulnerability in the calendar application example in Apache Tomcat 4.0.0 through 4.0.6, 4.1.0 through 4.1.31, 5.0.0 through 5.0.30, and 5.5.0 through 5.5.15 allows remote attackers to inject arbitrary web script or HTML via the time parameter to cal2.jsp and possibly unspecified other vectors. NOTE: this may be related to CVE-2006-0254.1.

AV:N/AC:M/Au:N/C:N/I:P/A:N

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 18 September 2026. Confidence: high.

medium priorityThe flaw is a reflected XSS in a sample application with no known in-the-wild exploitation, but the very high EPSS score and wide historical Tomcat deployment warrant prompt remediation.

What it is

The calendar example application shipped with Apache Tomcat 4.0.x, 4.1.x, 5.0.x and 5.5.x fails to sanitize the time parameter passed to cal2.jsp, allowing reflected cross-site scripting. Because the vulnerable code is a sample application bundled with the server, any deployment that leaves the examples webapp reachable is exposed to script injection in a victim's browser.

Impact

An attacker can execute arbitrary script in the context of the Tomcat host, enabling session theft, credential phishing or defacement of the affected page. The CVSS vector shows no confidentiality or availability impact, only partial integrity impact.

Attack surface

Reachable remotely over HTTP by sending a crafted time parameter to cal2.jsp; no authentication is required and the victim must be induced to follow a link or load attacker-controlled content. The description notes other unspecified vectors may also exist.

Exploitation

Not listed in CISA KEV and no reference carries an exploit tag, but EPSS is 0.72168 (99.4th percentile), indicating a high modeled likelihood of exploitation activity.

What to do

  • Upgrade Tomcat to a release outside the affected 4.0.x, 4.1.x, 5.0.x and 5.5.x ranges, or apply the vendor fixes referenced in the Apache Tomcat security pages for versions 4 and 5.
  • Remove or disable the bundled examples webapp (including cal2.jsp) from production Tomcat instances.
  • Apply input validation and output encoding to the time parameter if the calendar example must remain deployed.
  • Restrict network access to Tomcat management and example endpoints to trusted networks only.

Detection

  • Search HTTP access logs for requests to cal2.jsp containing script-like characters or encoded payloads in the time parameter.
  • Alert on any access to the examples webapp paths on production Tomcat servers.
  • Review web application firewall or proxy logs for reflected XSS patterns targeting cal2.jsp.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://community.ca.com/blogs/casecurityresponseblog/archive/2009/01/23.aspx
http://lists.opensuse.org/opensuse-security-announce/2008-03/msg00001.html
http://osvdb.org/34888
http://secunia.com/advisories/29242
http://secunia.com/advisories/33668
http://support.avaya.com/elmodocs2/security/ASA-2007-206.htm
http://support.ca.com/irj/portal/anonymous/phpsupcontent?contentID=197540
http://tomcat.apache.org/security-4.html
http://tomcat.apache.org/security-5.html
http://www.redhat.com/support/errata/RHSA-2008-0261.html
http://www.securityfocus.com/archive/1/478491/100/0/threaded
http://www.securityfocus.com/archive/1/478609/100/0/threaded
http://www.securityfocus.com/archive/1/500396/100/0/threaded
http://www.securityfocus.com/archive/1/500412/100/0/threaded
http://www.securityfocus.com/bid/25531
http://www.vupen.com/english/advisories/2007/1729
http://www.vupen.com/english/advisories/2009/0233
https://lists.apache.org/thread.html/29dc6c2b625789e70a9c4756b5a327e6547273ff8bde7e0327af48c5%40%3Cdev.tomcat.apache.org
https://lists.apache.org/thread.html/c62b0e3a7bf23342352a5810c640a94b6db69957c5c19db507004d74%40%3Cdev.tomcat.apache.org
https://lists.apache.org/thread.html/rb71997f506c6cc8b530dd845c084995a9878098846c7b4eacfae8db3%40%3Cdev.tomcat.apache.or
http://community.ca.com/blogs/casecurityresponseblog/archive/2009/01/23.aspx
http://lists.opensuse.org/opensuse-security-announce/2008-03/msg00001.html
http://osvdb.org/34888
http://secunia.com/advisories/29242
http://secunia.com/advisories/33668
http://support.avaya.com/elmodocs2/security/ASA-2007-206.htm
http://support.ca.com/irj/portal/anonymous/phpsupcontent?contentID=197540
http://tomcat.apache.org/security-4.html
http://tomcat.apache.org/security-5.html
http://www.redhat.com/support/errata/RHSA-2008-0261.html
http://www.securityfocus.com/archive/1/478491/100/0/threaded
http://www.securityfocus.com/archive/1/478609/100/0/threaded
http://www.securityfocus.com/archive/1/500396/100/0/threaded
http://www.securityfocus.com/archive/1/500412/100/0/threaded
http://www.securityfocus.com/bid/25531
http://www.vupen.com/english/advisories/2007/1729
http://www.vupen.com/english/advisories/2009/0233
https://lists.apache.org/thread.html/29dc6c2b625789e70a9c4756b5a327e6547273ff8bde7e0327af48c5%40%3Cdev.tomcat.apache.org
https://lists.apache.org/thread.html/c62b0e3a7bf23342352a5810c640a94b6db69957c5c19db507004d74%40%3Cdev.tomcat.apache.org
https://lists.apache.org/thread.html/rb71997f506c6cc8b530dd845c084995a9878098846c7b4eacfae8db3%40%3Cdev.tomcat.apache.or

Track CVE-2006-7196 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2025-24813Apache Tomcat Default Servlet path equivalence enables RCE and file disclosureApache Tomcat mishandles path equivalence for names containing an internal dot, letting a remote unauthenticated attacker write files through the Def…KEVEPSS 100%analysed9.8CVE-2020-1938Apache Tomcat AJP connector file read and JSP execution flawApache Tomcat shipped an AJP Connector enabled by default that listened on all configured IP addresses, and Tomcat treats AJP connections as more tru…KEVEPSS 99%analysed9.8CVE-2016-8735Apache Tomcat JmxRemoteLifecycleListener remote code executionApache Tomcat's JmxRemoteLifecycleListener was not updated to match the Oracle CVE-2016-3427 credential-type fix, leaving a deserialization weakness …KEVEPSS 90%analysed8.1CVE-2017-12617Apache Tomcat Default Servlet JSP upload leads to remote code executionApache Tomcat with HTTP PUT enabled (for example, the Default servlet readonly parameter set to false) allows an attacker to upload a JSP file throug…KEVEPSS 100%analysed8.1CVE-2017-12615Apache Tomcat on Windows unrestricted JSP upload via HTTP PUTApache Tomcat 7.0.0 through 7.0.79 on Windows with HTTP PUT enabled (for example, Default servlet readonly set to false) allows an attacker to upload…KEVEPSS 100%analysed7.5CVE-2026-34486Apache Tomcat EncryptInterceptor bypass exposes sensitive dataApache Tomcat contains a missing encryption of sensitive data flaw: the fix for CVE-2026-29146 can be bypassed, allowing the EncryptInterceptor to be…KEVEPSS 6.6%analysed7.5CVE-2023-44487HTTP/2 Rapid Reset stream cancellation denial of serviceThe HTTP/2 protocol permits a client to cancel many streams quickly, and the server's handling of those resets consumes disproportionate resources. T…KEVEPSS 100%analysed9.8CVE-2026-65637Apache tomcat improper input validation vulnerabilityImproper Input Validation vulnerability in Apache Tomcat due to incomplete fix for CVE-2026-32990. This issue affects Apache Tomcat: from 11.0.20 thr…EPSS 0.74%

Source: NIST National Vulnerability Database (record CVE-2006-7196), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.