NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · npm

CVE-2026-3455: mailparser vulnerable to Cross-site Scripting

lowCVSS 4.0 2.0 · 3.1 6.1GHSA-7gmj-h9xc-mcxc

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.

Published Mar 3, 2026 · Updated Mar 4, 2026

Affected packages

mailparser

Ecosystem
npm
Affected
< 3.9.3
Fixed in
3.9.3
Check
npm ls mailparser

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology