VYPR
Unrated severityNVD Advisory· Published Jul 7, 2008· Updated Apr 23, 2026

CVE-2008-2808

CVE-2008-2808

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Mozilla Firefox and SeaMonkey fail to escape HTML in file:// directory listings, allowing XSS via crafted filenames.

Vulnerability

Mozilla Firefox before version 2.0.0.15 and SeaMonkey before version 1.1.10 do not properly escape HTML in file:// URLs when rendering directory listings. A crafted filename containing HTML or JavaScript can be injected into the listing page without sanitization, leading to cross-site scripting (XSS) [1].

Exploitation

An attacker must have the ability to create a file with a malicious filename on a filesystem accessible via a file:// URL. The victim then needs to browse to a directory containing that file (e.g., by opening a local folder in the browser). No additional authentication or network position is required beyond local file creation. The browser renders the directory listing with the unescaped filename, executing the embedded script in the context of the file:// origin.

Impact

Successful exploitation allows an attacker to execute arbitrary JavaScript in the context of the file:// origin. This can lead to disclosure of local file contents, theft of cookies or credentials, or further attacks against the local system. The impact is limited to the privileges of the user running the browser.

Mitigation

Mozilla fixed this issue in Firefox 2.0.0.15 and SeaMonkey 1.1.10. Red Hat provided updated packages via RHSA-2008-0616 [1] for Red Hat Enterprise Linux. Users should upgrade to the patched versions. No workaround is available other than avoiding browsing untrusted directories with file:// URLs.

AI Insight generated on May 24, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

36
  • cpe:2.3:a:mozilla:firefox:2.0:*:*:*:*:*:*:*+ 17 more
    • cpe:2.3:a:mozilla:firefox:2.0:*:*:*:*:*:*:*
    • cpe:2.3:a:mozilla:firefox:2.0.0.11:*:*:*:*:*:*:*
    • cpe:2.3:a:mozilla:firefox:2.0.0.12:*:*:*:*:*:*:*
    • cpe:2.3:a:mozilla:firefox:2.0.0.13:*:*:*:*:*:*:*
    • cpe:2.3:a:mozilla:firefox:2.0.0.14:*:*:*:*:*:*:*
    • cpe:2.3:a:mozilla:firefox:2.0.0.2:*:*:*:*:*:*:*
    • cpe:2.3:a:mozilla:firefox:2.0.0.3:*:*:*:*:*:*:*
    • cpe:2.3:a:mozilla:firefox:2.0_.1:*:*:*:*:*:*:*
    • cpe:2.3:a:mozilla:firefox:2.0_.10:*:*:*:*:*:*:*
    • cpe:2.3:a:mozilla:firefox:2.0_.4:*:*:*:*:*:*:*
    • cpe:2.3:a:mozilla:firefox:2.0_.5:*:*:*:*:*:*:*
    • cpe:2.3:a:mozilla:firefox:2.0_.6:*:*:*:*:*:*:*
    • cpe:2.3:a:mozilla:firefox:2.0_8:*:*:*:*:*:*:*
    • cpe:2.3:a:mozilla:firefox:2.0_.9:*:*:*:*:*:*:*
    • cpe:2.3:a:mozilla:firefox:2.0:beta_1:*:*:*:*:*:*
    • cpe:2.3:a:mozilla:firefox:2.0:rc2:*:*:*:*:*:*
    • cpe:2.3:a:mozilla:firefox:2.0:rc3:*:*:*:*:*:*
    • (no CPE)range: before 2.0.0.15
  • cpe:2.3:a:mozilla:seamonkey:1.1.1:*:*:*:*:*:*:*+ 9 more
    • cpe:2.3:a:mozilla:seamonkey:1.1.1:*:*:*:*:*:*:*
    • cpe:2.3:a:mozilla:seamonkey:1.1.2:*:*:*:*:*:*:*
    • cpe:2.3:a:mozilla:seamonkey:1.1.3:*:*:*:*:*:*:*
    • cpe:2.3:a:mozilla:seamonkey:1.1.4:*:*:*:*:*:*:*
    • cpe:2.3:a:mozilla:seamonkey:1.1.5:*:*:*:*:*:*:*
    • cpe:2.3:a:mozilla:seamonkey:1.1.6:*:*:*:*:*:*:*
    • cpe:2.3:a:mozilla:seamonkey:1.1.7:*:*:*:*:*:*:*
    • cpe:2.3:a:mozilla:seamonkey:1.1.8:*:*:*:*:*:*:*
    • cpe:2.3:a:mozilla:seamonkey:1.1.9:*:*:*:*:*:*:*
    • cpe:2.3:a:mozilla:seamonkey:1.1:beta:*:*:*:*:*:*
  • cpe:2.3:a:mozilla:thunderbird:2.0_.12:*:*:*:*:*:*:*+ 7 more
    • cpe:2.3:a:mozilla:thunderbird:2.0_.12:*:*:*:*:*:*:*
    • cpe:2.3:a:mozilla:thunderbird:2.0_.13:*:*:*:*:*:*:*
    • cpe:2.3:a:mozilla:thunderbird:2.0_.14:*:*:*:*:*:*:*
    • cpe:2.3:a:mozilla:thunderbird:2.0_.4:*:*:*:*:*:*:*
    • cpe:2.3:a:mozilla:thunderbird:2.0_.5:*:*:*:*:*:*:*
    • cpe:2.3:a:mozilla:thunderbird:2.0_.6:*:*:*:*:*:*:*
    • cpe:2.3:a:mozilla:thunderbird:2.0_8:*:*:*:*:*:*:*
    • cpe:2.3:a:mozilla:thunderbird:2.0_.9:*:*:*:*:*:*:*

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

44

News mentions

0

No linked articles in our index yet.