Home / Apache / Tomcat / CVE-2005-4838
CVE-2005-4838: is it exploited, and which versions of Apache Tomcat are affected and fixed?
CVE-2005-4838 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, 09:38 UTC). Affected: tomcat through 5.5.6 (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (4.3, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 09:38 UTC, CVE record November 19, 2026, 07:21 UTC and NVD November 19, 2026, 08:53 UTC.
What is CVE-2005-4838?
Multiple cross-site scripting (XSS) vulnerabilities in the example web applications for Jakarta Tomcat 5.5.6 and earlier allow remote attackers to inject arbitrary web script or HTML via (1) el/functions.jsp, (2) el/implicit-objects.jsp, and (3) jspx/textRotate.jspx in examples/jsp2/, as demonstrated via script in a request to snp/snoop.jsp. NOTE: other XSS issues in the manager were simultaneously reported, but these require admin access and do not cross privilege boundaries.
From the CVE record by redhat, last updated August 8, 2024, 00:01 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| apache | tomcat | through 5.5.6 | application |
NVD analysis (status Modified), last modified June 16, 2026, 22:19 UTC.
How severe is CVE-2005-4838?
| 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-2005-4838 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 8.10% probability of exploitation activity in the next 30 days, percentile 95.0 (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
- tomcat-functions-xss(36467) vdb-entry, x_refsource_XF
- 20070906 Apache Tomcat remote xss mailing-list, x_refsource_FULLDISC
- RHSA-2008:0630 vendor-advisory, x_refsource_REDHAT
- 34878 vdb-entry, x_refsource_OSVDB
- 12721 vdb-entry, x_refsource_OSVDB
- 31493 third-party-advisory, x_refsource_SECUNIA
- [tomcat-dev] 20050103 [PATCH jakarta-servletapi-5] Re: Fwd: XSS in Jakarta Tomcat 5.5.6 mailing-list, x_refsource_MLIST
- 34879 vdb-entry, x_refsource_OSVDB
- 1012793 vdb-entry, x_refsource_SECTRACK
- 13737 third-party-advisory, x_refsource_SECUNIA
- http://www.oliverkarow.de/research/jakarta556_xss.txt x_refsource_MISC
- http://tomcat.apache.org/security-5.html x_refsource_CONFIRM
- RHSA-2008:0261 vendor-advisory, x_refsource_REDHAT
- [tomcat-dev] 20050103 Re: Fwd: XSS in Jakarta Tomcat 5.5.6 mailing-list, x_refsource_MLIST
- [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
- April 25, 2007
- Published
- April 25, 2007, 21:00 UTC
- CVE record updated
- August 8, 2024, 00:01 UTC by redhat
- NVD
- Modified, last modified June 16, 2026, 22:19 UTC
- Last checked
- CVE list November 19, 2026, 07:21 UTC; NVD November 19, 2026, 08:53 UTC; KEV December 3, 2026, 09: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-2005-4838
Is CVE-2005-4838 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 09:38 UTC. FIRST's EPSS gives it a 8.10% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Apache Tomcat are affected by CVE-2005-4838?
tomcat through 5.5.6, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2005-4838?
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-2005-4838?
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-2005-4838?
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.