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

Medium 5.0 Published Updated

Remote attackers can access files or cookies via improper HTML escaping in w3m, requiring user interaction to view malicious content.

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-2002-1348?

CVE-2002-1348 is a medium-severity cross-site scripting vulnerability in n/a, 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

w3m before 0.3.2.2 does not properly escape HTML tags in the ALT attribute of an IMG tag, which could allow remote attackers to access files or cookies.

Which versions are affected by CVE-2002-1348?

It affects 1 product.

Products include W3m W3m.

How do I fix CVE-2002-1348?

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

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

Sources

Also known as CVE-2002-1404, DEBIAN-CVE-2002-1348, GHSA-fgpf-gj3f-wvmc.

Is CVE-2002-1348 in your software?

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

Check your SBOMs for free