CVE-2026-3455 mailparser vulnerable to Cross-site Scripting
MediumCVSS 5.1
EPSS 0.36%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm mailparser(npm) | < 3.9.3 | 3.9.3 |
| nodemailer mailparser | < 3.9.3 | 3.9.3 |
References
- security.snyk.io third-party-advisory
- github.com patch
- gist.github.com exploit third-party-advisory
- github.com issue-tracking
- nvd.nist.gov third-party-advisory
- github.com