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…
CyberXYZ does not call a package safe in absolute terms. It records 1 known vulnerability for mailparser (npm), the worst rated LOW, and no malicious-package signal. Whether it is acceptable depends on the version you run.
Does mailparser have known vulnerabilities?
Yes. CyberXYZ records 1 known vulnerability for mailparser (npm), the worst rated LOW. They are GHSA-7gmj-h9xc-mcxc.
Which version of mailparser should I use?
3.9.3 or later clears every advisory recorded for mailparser (npm). Check the release you pick before installing it.
How do I check mailparser before installing?
Search mailparser in CyberXYZ Check at https://cyberxyz.io/check?q=mailparser. The xyz Scanner checks a project's dependencies, and CyberXYZ Proxy checks each package as it is installed.
Checked 2026-11-14 at 09:14 UTC. The most recent advisory here was published 2026-03-03. Updated continuously from NVD, GHSA, OSV and CNA feeds.