Description
Cross-site scripting vulnerabilities in SquirrelMail 1.2.7 and earlier allows remote attackers to execute script as other web users via (1) addressbook.php, (2) options.php, (3) search.php, or (4) help.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.2.6-1.1 | DSA-191 |
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.2.6/1.2.7 - Multiple Cross-Site Scripting Vulnerabilities EDB-21811 · webapps · Sep 19, 2002 · 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.2.6/1.2.7 - Cross-Site Scripting http/cves/2002/CVE-2002-1131.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
Advisories 1
- DSA-191 squirrelmail - cross site scripting Debian Security (DSA / DLA) · Mar 9, 2026
References
- squirrelmail-php-xss(10145) vdb-entry
- DSA-191 vendor-advisory
- 5763 vdb-entry
- 20020919 Squirrel Mail 1.2.7 XSS Exploit mailing-list
- http://sourceforge.net/project/shownotes.php?group_id=311&release_id=110774
- RHSA-2002:204 vendor-advisory