npmWorst: Moderate3 advisories

mailgen: known vulnerabilities

mailgen has 3 reviewed security advisories in the GitHub Advisory Database — 1 moderate, 2 low. The most recent was published 2025-10-15. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the mailgen versions running across your servers, containers and images, and ranks what to patch first.

How to fix mailgen

Upgrade mailgen to a release at or above the fixed version shown for each advisory below. For npm:

npm install mailgen@2.0.32 (or run npm audit fix)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (3)

Mailgen has HTML Injection and XSS Filter Bypass in Plaintext Emails Low CWE-79 — Affected: before 2.0.32. Fixed in 2.0.32. Published 2025-10-15. GHSA-q4w9-x3rv-4c8j · CVE-2025-62380
Mailgen has HTML Injection and XSS Filter Bypass in Plaintext Emails Low CWE-79 — Affected: before 2.0.31. Fixed in 2.0.31. Published 2025-10-14. GHSA-xw6r-chmh-vpmj · CVE-2025-62366
Mailgen: HTML injection vulnerability in plaintext e-mails Moderate 5.3 CWE-79 — Affected: before 2.0.30. Fixed in 2.0.30. Published 2025-09-22. GHSA-j2xj-h7w5-r7vp · CVE-2025-59526

Find mailgen across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.