Home / Apache / Tomcat / CVE-2007-1358
CVE-2007-1358: is it exploited, and which versions of Apache Tomcat are affected and fixed?
CVE-2007-1358 is a cross-site scripting (XSS) vulnerability in Apache Tomcat. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 10:08 UTC). Affected: org.apache.tomcat:tomcat through 4.0.6 and org.apache.tomcat:tomcat through 4.1.34 (GitHub advisory GHSA-xmc9-6p56-3c4v). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Low (2.6, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:08 UTC, CVE record November 19, 2026, 07:21 UTC and NVD November 19, 2026, 08:52 UTC.
What is CVE-2007-1358?
Cross-site scripting (XSS) vulnerability in certain applications using Apache Tomcat 4.0.0 through 4.0.6 and 4.1.0 through 4.1.34 allows remote attackers to inject arbitrary web script or HTML via crafted "Accept-Language headers that do not conform to RFC 2616".
From the CVE record by redhat, last updated August 7, 2024, 12:50 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | org.apache.tomcat:tomcat | >= 4.0.0, <= 4.0.6 | none listed | GHSA-xmc9-6p56-3c4v |
| Maven | org.apache.tomcat:tomcat | >= 4.1.0, <= 4.1.34 | none listed | GHSA-xmc9-6p56-3c4v |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated September 22, 2023. Summary: Apache Tomcat XSS In Accept-Language Headers.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| apache | tomcat | through 4.1.31 | application |
| apache | tomcat | 4.0.0 | application |
| apache | tomcat | 4.0.1 | application |
| apache | tomcat | 4.0.2 | application |
| apache | tomcat | 4.0.3 | application |
| apache | tomcat | 4.0.4 | application |
| apache | tomcat | 4.0.5 | application |
| apache | tomcat | 4.0.6 | application |
| apache | tomcat | 4.1.0 | application |
NVD analysis (status Modified), last modified June 16, 2026, 22:37 UTC.
How severe is CVE-2007-1358?
| Score | Version | Vector | Source |
|---|---|---|---|
| Low 2.6 | CVSS 2.0 | AV:N/AC:H/Au:N/C:N/I:P/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2007-1358 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 19.9% probability of exploitation activity in the next 30 days, percentile 97.5 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-79 Improper Neutralization of Input During Web Page Generation
Where are the vendor advisories and references?
- http://tomcat.apache.org/security-4.html x_refsource_CONFIRM
- 30908 third-party-advisory, x_refsource_SECUNIA
- 25721 third-party-advisory, x_refsource_SECUNIA
- ADV-2007-2732 vdb-entry, x_refsource_VUPEN
- RHSA-2008:0630 vendor-advisory, x_refsource_REDHAT
- 239312 vendor-advisory, x_refsource_SUNALERT
- ADV-2007-3087 vdb-entry, x_refsource_VUPEN
- 30899 third-party-advisory, x_refsource_SECUNIA
- FEDORA-2007-3456 vendor-advisory, x_refsource_FEDORA
- 31493 third-party-advisory, x_refsource_SECUNIA
- ADV-2008-1979 vdb-entry, x_refsource_VUPEN
- APPLE-SA-2007-07-31 vendor-advisory, x_refsource_APPLE
- 20090127 CA20090123-01: Cohesion Tomcat Multiple Vulnerabilities (Updated - v1.1) mailing-list, x_refsource_BUGTRAQ
- 33668 third-party-advisory, x_refsource_SECUNIA
- 20090124 CA20090123-01: Cohesion Tomcat Multiple Vulnerabilities mailing-list, x_refsource_BUGTRAQ
- ADV-2007-1729 vdb-entry, x_refsource_VUPEN
- 34881 vdb-entry, x_refsource_OSVDB
- 24524 vdb-entry, x_refsource_BID
- ADV-2009-0233 vdb-entry, x_refsource_VUPEN
- http://www.fujitsu.com/global/support/software/security/products-f/interstage-200704e.html x_refsource_CONFIRM
- oval:org.mitre.oval:def:10679 vdb-entry, signature, x_refsource_OVAL
- ADV-2007-3386 vdb-entry, x_refsource_VUPEN
- 20070618 [CVE-2007-1358] Apache Tomcat XSS vulnerability in Accept-Language header processing mailing-list, x_refsource_BUGTRAQ
- 27037 third-party-advisory, x_refsource_SECUNIA
- http://docs.info.apple.com/article.html?artnum=306172 x_refsource_CONFIRM
- SSRT071447 vendor-advisory, x_refsource_HP
- 27727 third-party-advisory, x_refsource_SECUNIA
- JVN#16535199 third-party-advisory, x_refsource_JVN
- 25159 vdb-entry, x_refsource_BID
- 26660 third-party-advisory, x_refsource_SECUNIA
- RHSA-2008:0261 vendor-advisory, x_refsource_REDHAT
- 1018269 vdb-entry, x_refsource_SECTRACK
- http://community.ca.com/blogs/casecurityresponseblog/archive/2009/01/23.aspx x_refsource_CONFIRM
- http://support.ca.com/irj/portal/anonymous/phpsupcontent?contentID=197540 x_refsource_CONFIRM
- 26235 third-party-advisory, x_refsource_SECUNIA
- [tomcat-dev] 20190319 svn commit: r1855831 [21/30] - in /tomcat/site/trunk: ./ docs/ xdocs/ mailing-list, x_refsource_MLIST
- [tomcat-dev] 20190325 svn commit: r1856174 [19/29] - in /tomcat/site/trunk: docs/ xdocs/ xdocs/stylesheets/ mailing-list, x_refsource_MLIST
- [tomcat-dev] 20200213 svn commit: r1873980 [24/34] - /tomcat/site/trunk/docs/ mailing-list, x_refsource_MLIST
When was it published, and where is the official record?
- Reserved
- March 8, 2007
- Published
- May 9, 2007, 22:00 UTC
- CVE record updated
- August 7, 2024, 12:50 UTC by redhat
- NVD
- Modified, last modified June 16, 2026, 22:37 UTC
- Last checked
- CVE list November 19, 2026, 07:21 UTC; NVD November 19, 2026, 08:52 UTC; KEV December 3, 2026, 10:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Tomcat?
- Apr 15, 2019CVE-2019-0232 Apache Tomcat: OS command injection
- Mar 23, 2017CVE-2016-9775 Debian Linux: n/a
- Mar 23, 2017CVE-2016-9774 Debian Linux: link following (a symlink lets an attacker reach other files)
- Oct 13, 2016CVE-2016-6325 Apache Tomcat: n/a
- Oct 13, 2016CVE-2016-5425 Apache Tomcat: insecure default permissions
- Oct 3, 2016CVE-2016-1240 Apache Tomcat: improper input validation
- Jul 19, 2016CVE-2016-5388 Redhat Enterprise Linux Desktop: improper access control
- Jul 4, 2016CVE-2016-3092 Hp Icewall Identity Manager: improper input validation
Questions about CVE-2007-1358
Is CVE-2007-1358 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 10:08 UTC. FIRST's EPSS gives it a 19.9% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Apache Tomcat are affected by CVE-2007-1358?
org.apache.tomcat:tomcat through 4.0.6 and org.apache.tomcat:tomcat through 4.1.34, per the GitHub advisory GHSA-xmc9-6p56-3c4v. The tables above give every range the sources list.
Which version fixes CVE-2007-1358?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2007-1358?
Low (2.6, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2007-1358?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.