CVE-2002-0682 Cross-site scripting in n/a

High 7.5 Published Updated

Remote attackers can execute arbitrary scripts in other users' browsers via unfiltered servlet exceptions in Apache Tomcat.

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
None listed

What is CVE-2002-0682?

CVE-2002-0682 is a high-severity cross-site scripting vulnerability in Apache Tomcat, published on 1 Sep 2004. 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

Cross-site scripting vulnerability in Apache Tomcat 4.0.3 allows remote attackers to execute script as other web users via script in a URL with the /servlet/ mapping, which does not filter the script when an exception is thrown by the servlet.

Which versions are affected by CVE-2002-0682?

It affects 1 product.

Products include Apache Tomcat.

How do I fix CVE-2002-0682?

No fix has been published for CVE-2002-0682 yet. Limit exposure of the affected software until one is available.

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-2002-0682 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2002-0682 exists.

Public exploit code: 1 Exploit-DB entry.

All Apache Tomcat vulnerabilities

Sources

Also known as GHSA-jjxj-xvcp-cxv8.

Is CVE-2002-0682 in your software?

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

Check your SBOMs for free