CVE-2008-2808 Cross-site scripting in n/a

Medium 4.3 Published Updated

Remote attackers can execute arbitrary scripts via crafted filenames in directory listings, requiring user interaction to view the listing.

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-2008-2808?

CVE-2008-2808 is a medium-severity cross-site scripting vulnerability in Mozilla Firefox, published on 7 Jul 2008. 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

Mozilla Firefox before 2.0.0.15 and SeaMonkey before 1.1.10 do not properly escape HTML in file:// URLs in directory listings, which allows remote attackers to conduct cross-site scripting (XSS) attacks or have unspecified other impact via a crafted filename.

Weakness: CWE-79

Which versions are affected by CVE-2008-2808?

It affects 3 products.

Products include Mozilla Firefox, Mozilla Seamonkey, Mozilla Thunderbird.

How do I fix CVE-2008-2808?

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-2008-2808 being exploited?

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

All Mozilla Firefox vulnerabilities

Sources

Also known as GHSA-g23j-wvjf-2p27.

Is CVE-2008-2808 in your software?

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

Check your SBOMs for free