Home / Apache / Tomcat / CVE-2008-1947
CVE-2008-1947: is it exploited, and which versions of Apache Tomcat are affected and fixed?
CVE-2008-1947 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, 08:38 UTC). Affected: org.apache.tomcat:tomcat from 5.5.9 before 5.5.27, org.apache.tomcat:tomcat from 6.0.0 before 6.0.18, org.apache.tomcat.embed:tomcat-embed-core from 5.5.9 before 5.5.27 and 1 more (GitHub advisory GHSA-f98p-9pp6-7q6c). Fixed in 5.5.27 and 6.0.18 (GitHub advisory GHSA-f98p-9pp6-7q6c). Severity: Medium (4.3, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 08:38 UTC, CVE record November 19, 2026, 07:21 UTC and NVD November 19, 2026, 08:52 UTC.
What is CVE-2008-1947?
Cross-site scripting (XSS) vulnerability in Apache Tomcat 5.5.9 through 5.5.26 and 6.0.0 through 6.0.16 allows remote attackers to inject arbitrary web script or HTML via the name parameter (aka the hostname attribute) to host-manager/html/add.
From the CVE record by redhat, last updated August 7, 2024, 08:40 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | org.apache.tomcat:tomcat | >= 5.5.9, < 5.5.27 | 5.5.27 | GHSA-f98p-9pp6-7q6c |
| Maven | org.apache.tomcat:tomcat | >= 6.0.0, < 6.0.18 | 6.0.18 | GHSA-f98p-9pp6-7q6c |
| Maven | org.apache.tomcat.embed:tomcat-embed-core | >= 5.5.9, < 5.5.27 | 5.5.27 | GHSA-f98p-9pp6-7q6c |
| Maven | org.apache.tomcat.embed:tomcat-embed-core | >= 6.0.0, < 6.0.18 | 6.0.18 | GHSA-f98p-9pp6-7q6c |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated April 9, 2025. Summary: Apache Tomcat Cross-site scripting (XSS) vulnerability.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| apache | tomcat | 5.5.9 | application |
| apache | tomcat | 5.5.10 | application |
| apache | tomcat | 5.5.11 | application |
| apache | tomcat | 5.5.12 | application |
| apache | tomcat | 5.5.13 | application |
| apache | tomcat | 5.5.14 | application |
| apache | tomcat | 5.5.15 | application |
| apache | tomcat | 5.5.16 | application |
| apache | tomcat | 5.5.17 | application |
| apache | tomcat | 5.5.18 | application |
| apache | tomcat | 5.5.19 | application |
| apache | tomcat | 5.5.20 | application |
| apache | tomcat | 5.5.21 | application |
| apache | tomcat | 5.5.22 | application |
| apache | tomcat | 5.5.23 | application |
| apache | tomcat | 5.5.24 | application |
| apache | tomcat | 5.5.25 | application |
| apache | tomcat | 5.5.26 | application |
| apache | tomcat | 6.0.0 | application |
| apache | tomcat | 6.0.1 | application |
| apache | tomcat | 6.0.2 | application |
| apache | tomcat | 6.0.3 | application |
| apache | tomcat | 6.0.4 | application |
| apache | tomcat | 6.0.5 | application |
| apache | tomcat | 6.0.6 | application |
NVD analysis (status Modified), last modified June 16, 2026, 22:52 UTC.
How severe is CVE-2008-1947?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 4.3 | CVSS 2.0 | AV:N/AC:M/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-2008-1947 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 9.78% probability of exploitation activity in the next 30 days, percentile 95.6 (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?
- 20080602 [SECURITY] CVE-2008-1947: Tomcat host-manager XSS vulnerability mailing-list, x_refsource_BUGTRAQ
- 30500 third-party-advisory, x_refsource_SECUNIA
- RHSA-2008:0862 vendor-advisory, x_refsource_REDHAT
- 34013 third-party-advisory, x_refsource_SECUNIA
- [tomcat-user] 20080602 [SECURITY] CVE-2008-1947: Tomcat host-manager XSS vulnerability mailing-list, x_refsource_MLIST
- oval:org.mitre.oval:def:6009 vdb-entry, signature, x_refsource_OVAL
- ADV-2008-2823 vdb-entry, x_refsource_VUPEN
- apache-tomcat-hostmanager-xss(42816) vdb-entry, x_refsource_XF
- 37460 third-party-advisory, x_refsource_SECUNIA
- http://www.vmware.com/security/advisories/VMSA-2009-0002.html x_refsource_CONFIRM
- 31681 vdb-entry, x_refsource_BID
- 32120 third-party-advisory, x_refsource_SECUNIA
- http://www.vmware.com/security/advisories/VMSA-2009-0016.html x_refsource_CONFIRM
- ADV-2008-1725 vdb-entry, x_refsource_VUPEN
- 30592 third-party-advisory, x_refsource_SECUNIA
- 33999 third-party-advisory, x_refsource_SECUNIA
- oval:org.mitre.oval:def:11534 vdb-entry, signature, x_refsource_OVAL
- 29502 vdb-entry, x_refsource_BID
- 31865 third-party-advisory, x_refsource_SECUNIA
- FEDORA-2008-8130 vendor-advisory, x_refsource_FEDORA
- 31639 third-party-advisory, x_refsource_SECUNIA
- 30967 third-party-advisory, x_refsource_SECUNIA
- MDVSA-2008:188 vendor-advisory, x_refsource_MANDRIVA
- http://support.avaya.com/elmodocs2/security/ASA-2008-401.htm x_refsource_CONFIRM
- ADV-2009-0320 vdb-entry, x_refsource_VUPEN
- 20091120 VMSA-2009-0016 VMware vCenter and ESX update release and vMA patch release address multiple security issue in third party components mailing-list, x_refsource_BUGTRAQ
- RHSA-2008:0864 vendor-advisory, x_refsource_REDHAT
- SUSE-SR:2009:004 vendor-advisory, x_refsource_SUSE
- http://tomcat.apache.org/security-6.html x_refsource_CONFIRM
- 57126 third-party-advisory, x_refsource_SECUNIA
- 32222 third-party-advisory, x_refsource_SECUNIA
- 31891 third-party-advisory, x_refsource_SECUNIA
- 33797 third-party-advisory, x_refsource_SECUNIA
- 1020624 vdb-entry, x_refsource_SECTRACK
- SUSE-SR:2008:014 vendor-advisory, x_refsource_SUSE
- FEDORA-2008-7977 vendor-advisory, x_refsource_FEDORA
- FEDORA-2008-8113 vendor-advisory, x_refsource_FEDORA
- http://tomcat.apache.org/security-5.html x_refsource_CONFIRM
- ADV-2008-2780 vdb-entry, x_refsource_VUPEN
- HPSBUX02401 vendor-advisory, x_refsource_HP
- HPSBST02955 vendor-advisory, x_refsource_HP
- APPLE-SA-2008-10-09 vendor-advisory, x_refsource_APPLE
- http://support.apple.com/kb/HT3216 x_refsource_CONFIRM
- ADV-2009-0503 vdb-entry, x_refsource_VUPEN
- ADV-2009-3316 vdb-entry, x_refsource_VUPEN
- DSA-1593 vendor-advisory, x_refsource_DEBIAN
- 32266 third-party-advisory, x_refsource_SECUNIA
- RHSA-2008:0648 vendor-advisory, x_refsource_REDHAT
- [tomcat-dev] 20190319 svn commit: r1855831 [22/30] - in /tomcat/site/trunk: ./ docs/ xdocs/ mailing-list, x_refsource_MLIST
- [tomcat-dev] 20190325 svn commit: r1856174 [20/29] - in /tomcat/site/trunk: docs/ xdocs/ xdocs/stylesheets/ mailing-list, x_refsource_MLIST
- [tomcat-dev] 20200203 svn commit: r1873527 [22/30] - /tomcat/site/trunk/docs/ mailing-list, x_refsource_MLIST
- [tomcat-dev] 20200213 svn commit: r1873980 [25/34] - /tomcat/site/trunk/docs/ mailing-list, x_refsource_MLIST
When was it published, and where is the official record?
- Reserved
- April 24, 2008
- Published
- June 4, 2008, 19:17 UTC
- CVE record updated
- August 7, 2024, 08:40 UTC by redhat
- NVD
- Modified, last modified June 16, 2026, 22:52 UTC
- Last checked
- CVE list November 19, 2026, 07:21 UTC; NVD November 19, 2026, 08:52 UTC; KEV December 3, 2026, 08:38 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-2008-1947
Is CVE-2008-1947 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 08:38 UTC. FIRST's EPSS gives it a 9.78% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Apache Tomcat are affected by CVE-2008-1947?
org.apache.tomcat:tomcat from 5.5.9 before 5.5.27, org.apache.tomcat:tomcat from 6.0.0 before 6.0.18, org.apache.tomcat.embed:tomcat-embed-core from 5.5.9 before 5.5.27 and org.apache.tomcat.embed:tomcat-embed-core from 6.0.0 before 6.0.18, per the GitHub advisory GHSA-f98p-9pp6-7q6c. The tables above give every range the sources list.
Which version fixes CVE-2008-1947?
5.5.27 and 6.0.18, per the GitHub advisory GHSA-f98p-9pp6-7q6c. Check the vendor's advisory before you rely on it.
How severe is CVE-2008-1947?
Medium (4.3, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2008-1947?
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.