{"id":"CVE-2026-3455","published":"2026-03-03T05:00:11Z","modified":"2026-03-03T15:17:56Z","title":"Versions of the package mailparser before 3.9.3 are vulnerable to Cross-site Scripting (XSS) via the textToHtml()…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N/E:P","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00363,"percentile":0.30921,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-MAILPARSER-15204032","tags":[]},{"url":"https://github.com/nodemailer/mailparser/commit/921a67df4cfb38f0b411037d7b26fbd4d5411b08","tags":[]},{"url":"https://gist.github.com/hayageek/7fcb225e3b1ea9a341d560403fbb585a","tags":[]},{"url":"https://github.com/nodemailer/mailparser/issues/412","tags":[]}],"priority":{"score":10.5,"factors":[{"name":"EPSS percentile","points":6.18},{"name":"CVSS severity","points":4.27}]},"affectedVersions":[{"vendor":"n/a","product":"mailparser","versions":["< 3.9.3"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-03-03T15:07:11.759930Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"mailparser","vulnerableRanges":["<3.9.3"],"patched":["3.9.3"],"from":["GHSA-7gmj-h9xc-mcxc"],"provenance":"source"}],"summary":{"text":"The mailparser npm package, in versions before 3.9.3, has a cross-site scripting flaw in its textToHtml() function, where URLs in email content are improperly sanitised. An attacker can get arbitrary JavaScript to run in a victim's browser by crafting an email whose URL includes an extra quote character and embedded malicious script, which requires the victim to interact with the content (user interaction) and needs no authentication or special configuration.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:07:10Z"},"euvd":{"id":"EUVD-2026-9279","exploited":false,"provenance":"source"}}