Description
Cross-site scripting (XSS) vulnerability in the print_header_uc function for SqWebMail 4.0.4 and earlier, and possibly 3.x, allows remote attackers to inject arbitrary web script or HRML via (1) e-mail headers or (2) a message with a "message/delivery-status" MIME Content-Type.
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 14 | courier | 0.45.4-4 | — |
| Debian 13 | courier | 0.45.4-4 | — |
| Debian 12 | courier | 0.45.4-4 | — |
| Debian 3.0 | courier | 0.37.3-2.5 | DSA-533 |
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
- SqWebMail 4.0.4.20040524 - Email Header HTML Injection EDB-24227 · webapps · Jun 21, 2004 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 1
- DSA-533 courier - cross-site scripting Debian Security (DSA / DLA) · Mar 9, 2026
References
- GLSA-200408-02 vendor-advisory
- sqwebmail-print-header-xss(16467) vdb-entry
- 11918 third-party-advisory
- DSA-533 vendor-advisory
- 20040621 XSS vulnerability in Sqwebmail 4.0.4 mailing-list
- 10588 vdb-entry