CVE-2005-4838 Cross-site scripting in n/a

Medium 4.3 Published Updated

Remote attackers can inject arbitrary web script via XSS in Jakarta Tomcat example applications, requiring user interaction to execute malicious code.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2005-4838?

CVE-2005-4838 is a medium-severity cross-site scripting vulnerability in Apache Tomcat, published on 25 Apr 2007. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

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.

Weakness: CWE-79

Which versions are affected by CVE-2005-4838?

It affects 1 product.

Products include Apache Tomcat.

How do I fix CVE-2005-4838?

Upgrade to a fixed version.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2005-4838 being exploited?

There is no known exploitation of CVE-2005-4838 in the wild and no public exploit code.

All Apache Tomcat vulnerabilities

Sources

Also known as GHSA-mxxf-x9fw-f2hv.

Is CVE-2005-4838 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free