← Vulnerability feed

Vulnerability record · CVE-2007-1355 · published 21 May 2007

CVE-2007-1355: Apache Tomcat sample hello.jsp XSS via test parameter

Apache · Tomcat

The bundled example application appdev/sample/web/hello.jsp in Apache Tomcat reflects the test parameter and other unspecified inputs without proper output encoding, allowing cross-site scripting. Because the vulnerable file ships with the sample web application, any deployment that leaves the examples installed exposes users to script injection in their browsers.

4.3 CVSS 2.0 Medium EPSS 58% · top 0.9%
4.3CVSS 2.0 base score
58%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
68References, 2 tagged exploit
16 Jun 2026Last modified by NVD

Description

Multiple cross-site scripting (XSS) vulnerabilities in the appdev/sample/web/hello.jsp example application in Tomcat 4.0.0 through 4.0.6, 4.1.0 through 4.1.36, 5.0.0 through 5.0.30, 5.5.0 through 5.5.23, and 6.0.0 through 6.0.10 allow remote attackers to inject arbitrary web script or HTML via the test parameter and unspecified vectors.

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 19 September 2026. Confidence: high.

medium priorityThe flaw is a reflected XSS in a sample application with public exploit code and high EPSS, but it only affects hosts where the examples are deployed and has limited CVSS impact.

What it is

The bundled example application appdev/sample/web/hello.jsp in Apache Tomcat reflects the test parameter and other unspecified inputs without proper output encoding, allowing cross-site scripting. Because the vulnerable file ships with the sample web application, any deployment that leaves the examples installed exposes users to script injection in their browsers.

Impact

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

Attack surface

Reachable over the network via HTTP requests to the sample hello.jsp page, with no authentication required. Exploitation requires the victim to load a crafted link or submit crafted input, so some user interaction is needed.

Exploitation

CISA KEV does not list this CVE, but EPSS is high at roughly 0.58 (99th percentile), and a SecurityFocus reference is tagged Exploit and Patch, indicating public exploit code exists.

What to do

  • Upgrade Tomcat to a release later than the affected 4.0.x, 4.1.x, 5.0.x, 5.5.x, and 6.0.x ranges listed in the advisory.
  • Remove or disable the bundled sample and example web applications, including appdev/sample, from production servers.
  • Apply vendor errata from Red Hat, Apple, Sun, and CA where Tomcat is packaged or embedded.
  • If examples must remain, add output encoding or input validation for the test parameter and other reflected inputs.
  • Restrict network access to example applications to trusted administrative networks.

Detection

  • Search web access logs for requests to appdev/sample/web/hello.jsp containing script tags or encoded script in the test parameter.
  • Alert on any HTTP traffic to sample or example application paths on production Tomcat instances.
  • Review deployed Tomcat webapps directories for the presence of the appdev/sample application.

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://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c01178795
http://lists.apple.com/archives/security-announce/2008//Jun/msg00002.html
http://osvdb.org/34875
http://rhn.redhat.com/errata/RHSA-2008-0630.html
http://secunia.com/advisories/27037
http://secunia.com/advisories/27727
http://secunia.com/advisories/30802
http://secunia.com/advisories/30899
http://secunia.com/advisories/30908
http://secunia.com/advisories/31493
http://secunia.com/advisories/33668
http://securityreason.com/securityalert/2722
http://sunsolve.sun.com/search/document.do?assetkey=1-26-239312-1
http://support.apple.com/kb/HT2163
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://tomcat.apache.org/security-6.html
http://www.redhat.com/support/errata/RHSA-2008-0261.html
http://www.securityfocus.com/archive/1/469067/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/24058 ExploitPatch
http://www.vupen.com/english/advisories/2007/3386
http://www.vupen.com/english/advisories/2008/1979/references
http://www.vupen.com/english/advisories/2008/1981/references
http://www.vupen.com/english/advisories/2009/0233
https://exchange.xforce.ibmcloud.com/vulnerabilities/34377
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
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A6111
https://www.redhat.com/archives/fedora-package-announce/2007-November/msg00525.html
http://community.ca.com/blogs/casecurityresponseblog/archive/2009/01/23.aspx
http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c01178795
http://lists.apple.com/archives/security-announce/2008//Jun/msg00002.html
http://osvdb.org/34875
http://rhn.redhat.com/errata/RHSA-2008-0630.html
http://secunia.com/advisories/27037

Track CVE-2007-1355 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-2007-1355), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.