NetSight
medium6.1

CVE-2026-3455

mailparser vulnerable to Cross-site Scripting

Impact

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 packages

EcosystemPackageAffectedFixed in
npmmailparser< 3.9.33.9.3

Affected products

VendorProductAffected versions
NodemailerMailparser
before 3.9.3

Weakness classification

References