Cross-site scripting in mailparser
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
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
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | mailparser | before 3.9.3 | 3.9.3 | Patch available | CNA |
| — | mailparser (npm) | before 3.9.3 | 3.9.3 | Patch available | GHSA-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
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:nodemailer:mailparser:*:*:*:*:*:node.js:*:* | before 3.9.3 | Vulnerable | nodemailer |
- 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
- 2026-10-02 Threatist record created from CVE-2026-3455
- 2026-10-03 Alias added: GHSA-7gmj-h9xc-mcxc
References
Sources
- CVE-2026-3455 · CVE Program
- CVE-2026-3455 · NVD
- FIRST EPSS
- GHSA-7gmj-h9xc-mcxc · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences