CVE-2026-3455
Versions of the package mailparser before 3.9.3 are vulnerable to …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- gist.github.com/hayageek/7fcb225e3b1ea9a341d560403fbb585a
- github.com/nodemailer/mailparser/commit/921a67df4cfb38f0b411037d7b26fbd4d5411b08
- github.com/nodemailer/mailparser/issues/412
- security.snyk.io/vuln/SNYK-JS-MAILPARSER-15204032
- nvd.nist.gov/vuln/detail/CVE-2026-3455
- github.com/advisories/GHSA-7gmj-h9xc-mcxc
- nvd.nist.gov/vuln/detail/CVE-2026-3455
- cve.org/CVERecord?id=CVE-2026-3455
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.