CVE-2006-7196
Cross-site scripting in Apache Tomcat
Also known as EDB-30563, GHSA-pm78-wxxf-fw98
Mitigation
- Upgrade org.apache.tomcat:tomcat to one of 4.0.7, 4.1.32, 5.0.31, 5.5.16 (or later in the same release line).
Who should check
- Projects that depend on Maven package org.apache.tomcat:tomcat (>= 4.0.0, < 4.0.7)
- Anyone running n/a (versions: see the vendor advisory)
Vulnerability facts
- Affected
- org.apache.tomcat:tomcat >= 4.0.0, < 4.0.7
- Fixed in
- 4.0.7, 4.1.32, 5.0.31, 5.5.16
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- Yes: see the exploit references below
- Remote exploitation
- Remote, no login needed
- CVSS
- 4.3 (v2.0, NVD)AV:N/AC:M/Au:N/C:N/I:P/A:N
Show all 6 CVSS metrics
- Attack vector: Network
- Attack complexity: Medium
- Authentication: None
- Confidentiality impact: None
- Integrity impact: Partial
- Availability impact: None
- EPSS
- 72.17% chance of exploitation in 30 days (percentile 100, 2026-11-26)
- CWE
- CWE-79
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven org.apache.tomcat:tomcat | >= 4.0.0, < 4.0.7 | 4.0.7, 4.1.32, 5.0.31, 5.5.16 | osv |
| n/a | — | — | nvd |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2006-7196. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2006-7196.md Affected: org.apache.tomcat:tomcat >= 4.0.0, < 4.0.7 Fixed in: 4.0.7, 4.1.32, 5.0.31, 5.5.16 Steps: 1. Search this machine and project for org.apache.tomcat:tomcat (Maven), n/a: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Exploits and PoCs
Other
- http://tomcat.apache.org/security-4.html
- http://osvdb.org/34888
- http://secunia.com/advisories/29242
- http://www.securityfocus.com/archive/1/500412/100/0/threaded
- http://secunia.com/advisories/33668
- http://www.securityfocus.com/archive/1/500396/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
- http://support.avaya.com/elmodocs2/security/ASA-2007-206.htm
- http://www.securityfocus.com/archive/1/478491/100/0/threaded
- http://tomcat.apache.org/security-5.html
- http://www.securityfocus.com/archive/1/478609/100/0/threaded
- http://community.ca.com/blogs/casecurityresponseblog/archive/2009/01/23.aspx
- http://support.ca.com/irj/portal/anonymous/phpsupcontent?contentID=197540
- https://lists.apache.org/thread.html/29dc6c2b625789e70a9c4756b5a327e6547273ff8bde7e0327af48c5%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/c62b0e3a7bf23342352a5810c640a94b6db69957c5c19db507004d74%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/rb71997f506c6cc8b530dd845c084995a9878098846c7b4eacfae8db3%40%3Cdev.tomcat.apache.org%3E
- https://access.redhat.com/errata/RHSA-2007:0326
- https://access.redhat.com/errata/RHSA-2007:0340
- https://access.redhat.com/errata/RHSA-2008:0261
- https://access.redhat.com/errata/RHSA-2008:0524
- https://access.redhat.com/security/cve/CVE-2006-7196
- https://bugzilla.redhat.com/show_bug.cgi?id=238131
- https://github.com/apache/tomcat
- https://lists.apache.org/thread.html/29dc6c2b625789e70a9c4756b5a327e6547273ff8bde7e0327af48c5@%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/c62b0e3a7bf23342352a5810c640a94b6db69957c5c19db507004d74@%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/rb71997f506c6cc8b530dd845c084995a9878098846c7b4eacfae8db3@%3Cdev.tomcat.apache.org%3E
FAQ
Is CVE-2006-7196 being exploited?
There is no confirmed exploitation: CVE-2006-7196 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 72.17% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2006-7196?
Medium: CVSS 4.3 (v2.0, scored by NVD). Remote, no login needed.
Which versions are affected by CVE-2006-7196?
org.apache.tomcat:tomcat >= 4.0.0, < 4.0.7.
Is there a fix for CVE-2006-7196?
Yes. Fixed in 4.0.7, 4.1.32, 5.0.31, 5.5.16. Upgrade org.apache.tomcat:tomcat to one of 4.0.7, 4.1.32, 5.0.31, 5.5.16 (or later in the same release line).
How do I check if I'm affected by CVE-2006-7196?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.