Cross-site scripting (XSS) vulnerability in mime.php for SquirrelMail before 1.4.3 allows remote attackers to insert arbitrary HTML and script via the content-type mail header, as demonstrated using read_body.php.
CVE-2004-0520
This CVE was only ever scored under CVSS v2.0. NVD CVSS v2.0 base 6.8 — v2 rates that MEDIUM (v2 bands: LOW 0.0–3.9 / MEDIUM 4.0–6.9 / HIGH 7.0–10.0; v2 has no CRITICAL band). Vector AV:N/AC:M/Au:N/C:P/I:P/A:P. CVSS v2 is an older, coarser metric than v3.1/v4.0 (no Scope, no User Interaction, no Attack Requirements), so it is not directly comparable to a v3 or v4 score. NVD has never re-scored this record under v3. EPSS predicts 7.1% exploitation probability in the next 30 days, which is reflected in EG Risk but does not lift the v2 base. Confidence: LOW.
- Lower severity and no public exploit yet
A fix is available — apply it.
- CVSS v2.0 (legacy)
- 6.8MEDIUMNVD never assigned a CVSS v3 rating to this CVE
- EG Score
- 6.8MEDIUMlow confidence
- EG Risk
- 61EG Risk 61/100CISA SSVC
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity68% × 45%Exploitation65% × 40%Automatability30% × 15%CISA SSVC: Track at low, Track or Track* at medium and Track* or Attend at high mission impact.Action: A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high. - EPSS PROB
- 7.1%
- EPSS %ILE
- 94th
- KEV
- Not listed
CISA SSVCTrack at low, Track or Track* at medium and Track* or Attend at high mission impact.
A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high.
Exploitation public PoC (EG-KEV: weaponized) · Automatable unknown (not published for this CVE) · Technical impact unknown (not published for this CVE). Mission impact is CISA's Mission & Well-being decision point, and only you can judge it: high means the affected system is essential to your organisation's mission, or its compromise could cause irreversible harm to people. CISA's decision table
Published
August 18, 2004
Last Modified
June 16, 2026
References (30)
- cve@mitreftp://patches.sgi.com/support/free/security/advisories/20040604-01-U.asc
- cve@mitrehttp://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000858
- cve@mitrehttp://marc.info/?l=bugtraq&m=108611554415078&w=2
- cve@mitrehttp://marc.info/?l=squirrelmail-cvs&m=108532891231712
- cve@mitrehttp://rhn.redhat.com/errata/RHSA-2004-240.html
- cve@mitrehttp://secunia.com/advisories/11870
- cve@mitrehttp://secunia.com/advisories/12289
- cve@mitrehttp://www.debian.org/security/2004/dsa-535
- cve@mitrehttp://www.gentoo.org/security/en/glsa/glsa-200406-08.xml
- cve@mitrehttp://www.rs-labs.com/adv/RS-Labs-Advisory-2004-1.txt
- cve@mitrehttp://www.securityfocus.com/advisories/6827
- cve@mitrehttp://www.securityfocus.com/bid/10439
- cve@mitrehttps://bugzilla.fedora.us/show_bug.cgi?id=1733
- cve@mitrehttps://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A1012
- cve@mitrehttps://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10766
Patch Availability(1)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| redhat | squirrelmail-0:1.4.3-0.e3.1 | 2004-06-14 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(1 across 1 ecosystem)
Debian:3.0(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| squirrelmail | — | 1:1.2.6-1.4 | — |
All Vendor Advisories
(1)
Every vendor that published an advisory referencing this CVE — pulled from our cve_vendor_advisories aggregation. Click any row for the vendor's original advisory page.
Data Freshness Timeline
(refreshed 1× in last 7d / 3× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-09-29 02:40 UTCEG score recompute
- 2026-09-12 14:54 UTCEPSS rescore
- 2026-09-10 09:23 UTCEPSS rescore
- 2026-08-30 01:13 UTCEPSS rescore
- 2026-07-26 13:24 UTCEG score recompute▲ 6.80
- 2026-07-25 14:11 UTCEPSS rescore
- 2026-07-24 14:11 UTCEPSS rescore
- 2026-07-23 00:46 UTCEG score recompute
- 2026-07-23 00:27 UTCEG score recompute
- 2026-07-22 23:50 UTCEG score recompute
- 2026-07-22 21:30 UTCEG score recompute
- 2026-07-20 17:02 UTCEPSS rescore
- 2026-07-19 14:25 UTCEPSS rescore
- 2026-07-18 09:59 UTCEPSS rescore
- 2026-07-18 09:59 UTCEPSS rescore
- 2026-07-16 16:58 UTCEPSS rescore
- 2026-07-15 01:55 UTCEPSS rescore
- 2026-07-15 01:55 UTCEPSS rescore
- 2026-07-11 08:22 UTCEPSS rescore
- 2026-07-11 08:22 UTCEPSS rescore
- 2026-07-08 15:09 UTCEPSS rescore
- 2026-07-06 02:19 UTCEPSS rescore
- 2026-07-04 06:26 UTCEPSS rescore
- 2026-07-02 14:00 UTCEPSS rescore
- 2026-06-29 14:02 UTCEPSS rescore
Show 54 moreShow fewer
- 2026-06-29 14:02 UTCEPSS rescore
- 2026-06-28 14:02 UTCEPSS rescore
- 2026-06-28 04:52 UTCEPSS rescore
- 2026-06-27 03:04 UTCEPSS rescore
- 2026-06-23 21:29 UTCEPSS rescore
- 2026-06-22 14:22 UTCEPSS rescore
- 2026-06-21 14:52 UTCEPSS rescore
- 2026-06-21 01:56 UTCEPSS rescore
- 2026-06-19 19:22 UTCEPSS rescore
- 2026-06-19 19:22 UTCEPSS rescore
- 2026-06-18 17:49 UTCEPSS rescore
- 2026-06-18 17:49 UTCEPSS rescore
- 2026-06-17 17:49 UTCEPSS rescore
- 2026-06-17 17:49 UTCEPSS rescore
- 2026-06-16 17:49 UTCEPSS rescore
- 2026-06-16 17:49 UTCEPSS rescore
- 2026-06-15 17:43 UTCEPSS rescore
- 2026-06-14 23:13 UTCEPSS rescore
- 2026-06-14 23:13 UTCEPSS rescore
- 2026-06-13 22:56 UTCEPSS rescore
- 2026-06-12 23:08 UTCEPSS rescore
- 2026-06-11 13:55 UTCEPSS rescore
- 2026-06-10 22:13 UTCEPSS rescore
- 2026-06-10 13:17 UTCEPSS rescore
- 2026-06-07 15:21 UTCEPSS rescore
- 2026-06-05 22:43 UTCEPSS rescore
- 2026-06-05 22:43 UTCEPSS rescore
- 2026-06-04 13:09 UTCEPSS rescore
- 2026-06-02 20:10 UTCEPSS rescore
- 2026-06-01 13:49 UTCEPSS rescore
- 2026-06-01 13:49 UTCEPSS rescore
- 2026-05-31 22:28 UTCEPSS rescore
- 2026-05-31 16:02 UTCEG score recompute
- 2026-05-31 16:02 UTCVendor advisory
- 2026-05-31 16:02 UTCGHSA enrichment
- 2026-05-31 00:13 UTCEPSS rescore
- 2026-05-31 00:13 UTCEPSS rescore
- 2026-05-29 13:40 UTCEPSS rescore
- 2026-05-29 13:40 UTCEPSS rescore
- 2026-05-28 13:42 UTCEPSS rescore
- 2026-05-28 13:42 UTCEPSS rescore
- 2026-05-28 13:42 UTCEPSS rescore
- 2026-05-27 13:37 UTCEPSS rescore
- 2026-05-26 13:41 UTCEPSS rescore
- 2026-05-26 13:41 UTCEPSS rescore
- 2026-05-26 07:16 UTCEPSS rescore
- 2026-05-26 07:16 UTCEPSS rescore
- 2026-05-24 16:42 UTCEPSS rescore
- 2026-05-22 21:15 UTCEPSS rescore
- 2026-05-20 22:36 UTCEPSS rescore
- 2026-05-20 11:20 UTCEPSS rescore
- 2026-05-20 11:20 UTCEPSS rescore
- 2026-05-18 21:29 UTCEPSS rescore
- 2026-05-18 21:29 UTCEPSS rescore
Publicly available exploits
(1 reference)Working exploit code is in the public domain (1 Exploit-DB entry). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.
- Exploit-DBEDB-24160✓ verifiedFirst seen May 31, 2004
SquirrelMail 1.x - Email Header HTML Injection
Open source ↗
Related CVEs(same product + same vendor)
Same product
10 shownDebian:3.0:squirrelmail
Frequently asked(4)
What is CVE-2004-0520?
When was CVE-2004-0520 disclosed?
Is CVE-2004-0520 actively exploited?
How do I remediate CVE-2004-0520?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2004-0520
Is Your Infrastructure Affected by CVE-2004-0520?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.