CVE-2004-0520 in Open Webmail and 2 more products
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.
Affects 3 products from 3 vendors. Facts below cite their sources.
Remotely exploitable over the network.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Open Webmail | Open Webmail | 2.30 2.31 2.32 |
| Sgi | Propack | 3.0 |
| Squirrelmail | Squirrelmail | 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5+11 more1.2.6 1.2.7 1.2.8 1.2.9 1.2.10 1.2.11 1.4 1.4.1 1.4.2 1.4.3_rc1 1.5_dev |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Reported · reference |
Official description
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2004-0520 |
|---|---|
| BreachSpider ID | BS-2004-GLOBAL-159238-M |
| CVSS vector | AV:N/AC:M/Au:N/C:P/I:P/A:P |
| Published | 2004-08-18 |
| Last modified | 2026-06-16 |
| Source | NVD |
Analysis AI-written, not human-reviewed
This vulnerability was disclosed in 2004. A medium severity vulnerability affects Open Webmail systems (CVE-2004-0520). Public exploit code is available. Isolate affected systems if patching is not feasible.
Vulnerability details: 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. CVSS vector: AV:N/AC:M/Au:N/C:P/I:P/A:P.
Questions
What is CVE-2004-0520?
This vulnerability was disclosed in 2004. A medium severity vulnerability affects Open Webmail systems (CVE-2004-0520). Public exploit code is available. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2004-0520?
CVE-2004-0520 has CVSS 6.8 (Medium). Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P. EPSS: 7.1%.
Is CVE-2004-0520 actively exploited?
Public exploit available for CVE-2004-0520. Exploitation risk elevated.
How do I remediate CVE-2004-0520?
Priority: MONITOR. PSIRT: [email protected]
What systems are affected by CVE-2004-0520?
CVE-2004-0520 affects Open Webmail Open Webmail; Sgi Propack; Squirrelmail Squirrelmail.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Open Webmail","product":"Open Webmail","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.