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

Medium 4.3 Published Updated

Remote attackers can bypass XSS protections and execute scripts in Mozilla browsers by using stripped Byte Order Mark characters in JavaScript.

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-4065?

CVE-2008-4065 is a medium-severity cross-site scripting vulnerability in Canonical Ubuntu Linux, published on 24 Sep 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.17 and 3.x before 3.0.2, Thunderbird before 2.0.0.17, and SeaMonkey before 1.1.12 allow remote attackers to bypass cross-site scripting (XSS) protection mechanisms and conduct XSS attacks via byte order mark (BOM) characters that are removed from JavaScript code before execution, aka "Stripped BOM characters bug."

Weakness: CWE-79

Which versions are affected by CVE-2008-4065?

It affects 5 products.

Products include Canonical Ubuntu Linux, Debian Debian Linux, Mozilla Firefox, Mozilla Seamonkey, Mozilla Thunderbird.

How do I fix CVE-2008-4065?

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-4065 being exploited?

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

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as GHSA-xppm-mp6m-c6fw.

Is CVE-2008-4065 in your software?

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

Check your SBOMs for free