Read the docs
TI-2026-02976 Aliases CVE-2026-3455GHSA-7gmj-h9xc-mcxc

Cross-site scripting in mailparser

Priority MEDIUM 56CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Active
Attack complexity
Low
Attack requirements
None
Impact type
Cross-site scripting
Confidentiality · integrity · availability
None · Low · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-79.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00363 30th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed mailparser: 3.9.3mailparser (npm): 3.9.3

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
—mailparserbefore 3.9.33.9.3Patch availableCNA
—mailparser (npm)before 3.9.33.9.3Patch availableGHSA-7gmj-h9xc-mcxc
  • mailparser Vendor— Affected before 3.9.3 Fixed in 3.9.3 Patch available CNA
  • mailparser (npm) Vendor— Affected before 3.9.3 Fixed in 3.9.3 Patch available GHSA-7gmj-h9xc-mcxc

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:nodemailer:mailparser:*:*:*:*:*:node.js:*:*before 3.9.3Vulnerablenodemailer
  • cpe:2.3:a:nodemailer:mailparser:*:*:*:*:*:node.js:*:* Versions before 3.9.3 Vulnerable ·nodemailer

Remediation

  • Fix · CNA mailparser Fixed in 3.9.3
  • Fix · GHSA-7gmj-h9xc-mcxc mailparser (npm) Fixed in 3.9.3 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-3455
  2. 2026-10-03 Alias added: GHSA-7gmj-h9xc-mcxc

References

Sources