CVE-2026-3455
LOW 2.0CVSS 4.0mailparser vulnerable to Cross-site Scripting
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
- 3 Mar 2026
- Last modified
- 17 Jun 2026
- Assigned by
- report@snyk.io
- NVD status
- Analyzed
- Weakness
- CWE-79
- Also known as
- GHSA-7gmj-h9xc-mcxc
- Sources
- NVDJSONOSV GHSA-7gmj-h9xc-mcxcJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | report@snyk.io (Secondary) | CVSS 4.0 | LOW 2.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N/E:P | |
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | nodemailer | mailparsercpe:2.3:a:nodemailer:mailparser:*:*:*:*:*:node.js:*:* |
< 3.9.3 | 3.9.3 |
| OSV | npm | mailparser | < 3.9.3 | 3.9.3 |
References
- https://gist.github.com/hayageek/7fcb225e3b1ea9a341d560403fbb585a · Exploit, Third Party Advisory, WEB
- https://github.com/nodemailer/mailparser/commit/921a67df4cfb38f0b411037d7b26fbd4d5411b08 · Patch, WEB
- https://github.com/nodemailer/mailparser/issues/412 · Issue Tracking, WEB
- https://security.snyk.io/vuln/SNYK-JS-MAILPARSER-15204032 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-3455 · ADVISORY
- https://github.com/nodemailer/mailparser · PACKAGE
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 3 Mar 2026)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 3 Mar 2026)