Low, CVSS 2.0npmAmendedPublished
mailparser vulnerable to Cross-site Scripting
CVE-2026-3455 · GHSA-7gmj-h9xc-mcxc
- Affected
- npm mailparser < 3.9.3
- Fixed in
- 3.9.3· Vendor fix available
- Issue
- 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.
Recommended action: Upgrade to 3.9.3 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.