CVE-2026-3455Published Mar 3, 2026 · Mar 3Updated Oct 28
mailparser vulnerable to Cross-site Scripting
mailparser
Medium5.1Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| mailparser npm |
|
|
Original description
Versions of the package mailparser before 3.9.3 are vulnerable to Cross-site Scripting (XSS) via the textToHtml() function due to the improper sanitisation of URLs in the email content. An attacker can execute arbitrary scripts in victim browsers by adding extra quote " to the URL with embedded malicious JavaScript code.
From the CVE record · snyk