CVE-2026-3455 Details
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.
A cross-site scripting (XSS) vulnerability exists in the mailparser package, specifically in versions prior to 3.9.3. The issue arises in the textToHtml() function, where URLs in email content are not properly sanitized. This flaw allows attackers to inject arbitrary scripts into the browsers of victims by adding extra quotes to URLs containing malicious JavaScript. The vulnerability has been addressed in version 3.9.3.
Upgrade mailparser to version 3.9.3 or later.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 3, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://gist.github.com/hayageek/7fcb225e3b1ea9a341d560403fbb585a | [email protected] | ExploitThird Party Advisory |
| https://github.com/nodemailer/mailparser/commit/921a67df4cfb38f0b411037d7b26fbd4d5411b08 | [email protected] | Patch |
| https://github.com/nodemailer/mailparser/issues/412 | [email protected] | Issue Tracking |
| https://security.snyk.io/vuln/SNYK-JS-MAILPARSER-15204032 | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| nodemailer mailparser | < 3.9.3 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Mar 13, 2026 | Initial Analysis | [email protected] |
| Mar 3, 2026 | New CVE Received | [email protected] |