Description
Multiple cross-site scripting (XSS) vulnerabilities in SquirrelMail 1.4.2 allow remote attackers to execute arbitrary script as other users and possibly steal authentication information via multiple attack vectors, including the mailbox parameter in compose.php.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 3.0 | squirrelmail | 1:1.2.6-1.4 | DSA-535 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 3 | squirrelmail | 1.4.3-0.e3.1 | RHSA-2004:240 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- SquirrelMail 1.4.x - Folder Name Cross-Site Scripting EDB-24068 · webapps · Apr 30, 2004 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- SquirrelMail 1.4.x - Folder Name Cross-Site Scripting http/cves/2004/CVE-2004-0519.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
Advisories 2
- DSA-535 squirrelmail - several vulnerabilities Debian Security (DSA / DLA) · Mar 9, 2026
- RHSA-2004:240 Red Hat Security Advisory: squirrelmail security update Red Hat Security Advisories (RHSA) · Nov 22, 2025
References
- 12289 third-party-advisory
- squirrel-composephp-xss(16025) vdb-entry
- 20040430 Re: SquirrelMail Cross Scripting Attacks.... mailing-list
- SUSE-SR:2005:019 vendor-advisory
- oval:org.mitre.oval:def:1006 vdb-entry signature
- FEDORA-2004-160 vendor-advisory
- 11531 third-party-advisory
- 11686 third-party-advisory
- 11870 third-party-advisory
- DSA-535 vendor-advisory
- RHSA-2004:240 vendor-advisory
- FEDORA-2004-1733 vendor-advisory
- GLSA-200405-16 vendor-advisory
- oval:org.mitre.oval:def:10274 vdb-entry signature
- 20040429 SquirrelMail Cross Scripting Attacks.... mailing-list
- CLA-2004:858 vendor-advisory
- 10246 vdb-entry