CISA list

● npm package

mailgen

Mailgen has three security advisories. The newest release any of them names as the fix is 2.0.32.

As of , mailgen has three security advisories. The newest release any of them names as the fix is 2.0.32.

Your version, and the version to upgrade to

Find the row your installed version falls in. The second column is the first release after it that none of the advisories lists as affected; a release outside every row is one no advisory lists. That is what the advisories say, not a promise that a release is free of flaws.
If you runUpgrade toAdvisories
Before 2.0.322.0.323 advisories

Security advisories, newest first

Security advisories, newest first
AdvisoryWhat it isAffectsFixed inPublished
CVE-2025-62380GHSA-q4w9-x3rv-4c8jMailgen has HTML Injection and XSS Filter Bypass in Plaintext EmailsLow severityBefore 2.0.322.0.32
CVE-2025-62366GHSA-xw6r-chmh-vpmjMailgen has HTML Injection and XSS Filter Bypass in Plaintext EmailsLow severityBefore 2.0.312.0.31
CVE-2025-59526GHSA-j2xj-h7w5-r7vpMailgen: HTML injection vulnerability in plaintext e-mailsModerate severityBefore 2.0.302.0.30

Other npm packages

Sources
  • Package advisories from the GitHub Advisory Database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0