GHSA-7GMJ-H9XC-MCXC
Vulnerability from github – Published: 2026-03-03 06:31 – Updated: 2026-03-04 20:15
VLAI?
Summary
mailparser vulnerable to Cross-site Scripting
Details
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.
Severity ?
{
"affected": [
{
"package": {
"ecosystem": "npm",
"name": "mailparser"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "3.9.3"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2026-3455"
],
"database_specific": {
"cwe_ids": [
"CWE-79"
],
"github_reviewed": true,
"github_reviewed_at": "2026-03-04T20:15:58Z",
"nvd_published_at": "2026-03-03T05:17:25Z",
"severity": "LOW"
},
"details": "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.",
"id": "GHSA-7gmj-h9xc-mcxc",
"modified": "2026-03-04T20:15:58Z",
"published": "2026-03-03T06:31:14Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-3455"
},
{
"type": "WEB",
"url": "https://github.com/nodemailer/mailparser/issues/412"
},
{
"type": "WEB",
"url": "https://github.com/nodemailer/mailparser/commit/921a67df4cfb38f0b411037d7b26fbd4d5411b08"
},
{
"type": "WEB",
"url": "https://gist.github.com/hayageek/7fcb225e3b1ea9a341d560403fbb585a"
},
{
"type": "PACKAGE",
"url": "https://github.com/nodemailer/mailparser"
},
{
"type": "WEB",
"url": "https://security.snyk.io/vuln/SNYK-JS-MAILPARSER-15204032"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
"type": "CVSS_V3"
},
{
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N/E:P",
"type": "CVSS_V4"
}
],
"summary": "mailparser vulnerable to Cross-site Scripting"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…