CVE-2004-2704 Cross-site scripting in n/a

Medium 4.3 Published Updated

Hastymail fails to set Content-Disposition headers, allowing Internet Explorer to render attachments inline and execute cross-site scripting attacks.

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-2004-2704?

CVE-2004-2704 is a medium-severity cross-site scripting vulnerability in Microsoft Internet Explorer, published on 6 Oct 2007. 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

Hastymail 1.0.1 and earlier (stable) and 1.1 and earlier (development) does not send the "attachment" parameter in the Content-Disposition field for attachments, which causes the attachment to be rendered inline by Internet Explorer when the victim clicks the download link, which facilitates cross-site scripting (XSS) and possibly other attacks.

Weakness: CWE-79

Which versions are affected by CVE-2004-2704?

It affects 2 products.

Products include Hastymail Hastymail, Microsoft Internet Explorer.

How do I fix CVE-2004-2704?

No fix has been published for CVE-2004-2704 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-2004-2704 being exploited?

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

All Microsoft Internet Explorer vulnerabilities

Sources

Also known as GHSA-q953-qm86-wxwh.

Is CVE-2004-2704 in your software?

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

Check your SBOMs for free