CVE-2025-62380: Mailgen has HTML Injection and XSS Filter Bypass in Plaintext Emails
(updated )
An HTML injection vulnerability in plaintext emails generated by Mailgen has been discovered. Projecta are affected if the Mailgen.generatePlaintext(email) method is used and passed in user-generated content. The issue was discovered and reported by Edoardo Ottavianelli (@edoardottt).
References
Code Behaviors & Features
Detect and mitigate CVE-2025-62380 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →