MTIby Motiontic
Colour theme
VulnerabilityCVE-2025-62366GHSA-xw6r-chmh-vpmj

Mailgen vulnerable to HTML injection and cross-site scripting via plaintext email generation

Not on CISA KEV
  • Overview

Summary

mailgen is a Node.js package that generates responsive HTML e-mails for sending transactional mail. Mailgen versions through 2.0.30 contain an HTML injection vulnerability in plaintext emails produced by the generatePlaintext method when user‑generated content is supplied. The function attempts to

See the full record, free

  • Every source, score and reference in one place
  • Timeline and related records
  • Watch an entry and get an alert when it changes

Sources and credits

  • CISA Vulnrichment Source: CISA Vulnrichment
  • CVE List Source: CVE Program (cve.org)
  • GitHub Advisory DB Source: GitHub Advisory Database (CC BY 4.0)