CVE-2004-2704
Status: ModifiedMedium (4.3)—
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.
CVSS
- Version: 2.0
- Vector: AV:N/AC:M/Au:N/C:N/I:P/A:N
- Base score: 4.3
Exploitation probability (EPSS)
- Probability of exploitation in the next 30 days: 4.73%
- Percentile among all scored CVEs: 92
- Score date: 10/4/2026
EPSS (Exploit Prediction Scoring System, FIRST) estimates how likely a vulnerability is to be exploited in the wild within 30 days. It complements CVSS (impact) and CISA KEV (confirmed exploitation).
Affected technologies (2)
CWEs
- CWE-79
References
- http://archives.neohapsis.com/archives/bugtraq/2004-08/0322.html
- http://hastymail.sourceforge.net/security.php
- http://secunia.com/advisories/12358
- http://securitytracker.com/id?1011054
- http://www.osvdb.org/9131
- http://www.securityfocus.com/bid/11022
- https://exchange.xforce.ibmcloud.com/vulnerabilities/17091
- http://archives.neohapsis.com/archives/bugtraq/2004-08/0322.html
- http://hastymail.sourceforge.net/security.php
- http://secunia.com/advisories/12358
- http://securitytracker.com/id?1011054
- http://www.osvdb.org/9131
- http://www.securityfocus.com/bid/11022
- https://exchange.xforce.ibmcloud.com/vulnerabilities/17091
Raw JSON (NVD)
Show
{
"id": "CVE-2004-2704",
"cveTags": [],
"metrics": {
"cvssMetricV2": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"cvssData": {
"version": "2.0",
"baseScore": 4.3,
"accessVector": "NETWORK",
"vectorString": "AV:N/AC:M/Au:N/C:N/I:P/A:N",
"authentication": "NONE",
"integrityImpact": "PARTIAL",
"accessComplexity": "MEDIUM",
"availabilityImpact": "NONE",
"confidentialityImpact": "NONE"
},
"acInsufInfo": false,
"impactScore": 2.9,
"baseSeverity": "MEDIUM",
"obtainAllPrivilege": false,
"exploitabilityScore": 8.6,
"obtainUserPrivilege": false,
"obtainOtherPrivilege": false,
"userInteractionRequired": true
}
]
},
"affected": [
{
"source": "cve@mitre.org",
"affectedData": [
{
"vendor": "n/a",
"product": "n/a",
"versions": [
{
"status": "affected",
"version": "n/a"
}
]
}
]
}
],
"published": "2004-12-31T05:00:00.000",
"references": [
{
"url": "http://archives.neohapsis.com/archives/bugtraq/2004-08/0322.html",
"source": "cve@mitre.org"
},
{
"url": "http://hastymail.sourceforge.net/security.php",
"tags": [
"Patch"
],
"source": "cve@mitre.org"
},
{
"url": "http://secunia.com/advisories/12358",
"tags": [
"Vendor Advisory"
],
"source": "cve@mitre.org"
},
{
"url": "http://securitytracker.com/id?1011054",
"source": "cve@mitre.org"
},
{
"url": "http://www.osvdb.org/9131",
"source": "cve@mitre.org"
},
{
"url": "http://www.securityfocus.com/bid/11022",
"tags": [
"Patch"
],
"source": "cve@mitre.org"
},
{
"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/17091",
"source": "cve@mitre.org"
},
{
"url": "http://archives.neohapsis.com/archives/bugtraq/2004-08/0322.html",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://hastymail.sourceforge.net/security.php",
"tags": [
"Patch"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://secunia.com/advisories/12358",
"tags": [
"Vendor Advisory"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://securitytracker.com/id?1011054",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.osvdb.org/9131",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.securityfocus.com/bid/11022",
"tags": [
"Patch"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/17091",
"source": "af854a3a-2127-422b-91ae-364da2661108"
}
],
"vulnStatus": "Modified",
"weaknesses": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"description": [
{
"lang": "en",
"value": "CWE-79"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "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."
}
],
"lastModified": "2026-06-16T22:10:11.510",
"configurations": [
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:hastymail:hastymail:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "8E2249CA-8B7D-4C5A-B342-B1A7B95A91EA",
"versionEndIncluding": "1.0.1"
},
{
"criteria": "cpe:2.3:a:hastymail:hastymail:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "34B6D795-D041-41FD-A11B-04389CE3343A",
"versionEndIncluding": "1.1"
},
{
"criteria": "cpe:2.3:a:microsoft:internet_explorer:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "8682FAF3-98E3-485C-89CB-C0358C4E2AB0"
}
],
"operator": "OR"
}
]
}
],
"sourceIdentifier": "cve@mitre.org"
}