{"id":"EUVD-2025-30449","revision":"a7e2e07af16743c1a00343190eccf066","records":[{"revision":"a7e2e07af16743c1a00343190eccf066","observedAt":"2026-11-05T02:03:57.159+00:00","statement":{"source":"euvd","id":"EUVD-2025-30449","aliases":["CVE-2025-59526","GHSA-j2xj-h7w5-r7vp"],"title":"mailgen is a Node.js package that generates responsive HTML e-mails for sending transactional mail. Prior to version 2.0.30, there is an HTML injection vulnerability in plaintext e-mails generated by Mailgen. Projects are affected if the Ma…","description":"mailgen is a Node.js package that generates responsive HTML e-mails for sending transactional mail. Prior to version 2.0.30, there is an HTML injection vulnerability in plaintext e-mails generated by Mailgen. Projects are affected if the Mailgen.generatePlaintext(email) method is used and given user-generated content. This vulnerability has been patched in version 2.0.30. A workaround involves stripping all HTML tags before passing any content into Mailgen.generatePlaintext(email).","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:L/SA:L/E:U","score":2.7,"severity":null}],"references":["https://github.com/eladnava/mailgen/security/advisories/GHSA-j2xj-h7w5-r7vp","https://github.com/eladnava/mailgen/commit/741a0190ddae0f408b22ae3b5f0f4c3f5cf4f11d"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2025-30449","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Sep 22, 2025, 7:27:53 PM","dateUpdated":"Sep 22, 2025, 7:45:47 PM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2025-30449","identifiers":["EUVD-2025-30449","CVE-2025-59526","GHSA-j2xj-h7w5-r7vp"]},"retained":false,"historicalAffected":[]}],"coverage":[]}