6.1Medium

CVE-2026-3455

mailparser Published: (8 months ago)

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.

Weakness (CWE): CWE-79

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
nodemailer mailparser < 3.9.3
— mailparser < 3.9.3

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:nodemailer:mailparser:*:*:*:*:*:node.js:*:* < 3.9.3