p PatchFirst

PatchFirst · Vulnérabilités récentes

Vulnérabilités de mailgen

Vulnérabilité publiée pour mailgen au cours des 30 derniers jours : 0. Dans le catalogue KEV : 0.

Filtrer les vulnérabilités
Effacer les filtres

Vulnérabilités : 3

  1. CVE-2025-62380

    Faible · CVSS 2.9EPSS 0,45%Correctif disponible

    Mailgen has HTML Injection and XSS Filter Bypass in Plaintext Emails

    mailgen is a Node.js package that generates responsive HTML e-mails for sending transactional mail. Mailgen versions through 2.0.31 contain an HTML injection vulnerability in plaintext emails generated with the generatePlaintext method when user generated content is supplied. The plaintext generation code attempts to strip HTML tags using a regular expression and then decodes HTML entities, but tags that include certain Unicode line separator characters are not matched and removed. These encoded tags are later decoded into valid HTML content, allowing unexpected HTML to remain in output intended to be plaintext. Projects are affected if they

    • Mettez à jour vers 2.0.32
    Publication Mise à jour
  2. CVE-2025-62366

    Faible · CVSS 2.9EPSS 0,43%Correctif disponible

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

    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 remove HTML tags, but if tags are provided as encoded HTML entities they are not removed and are later decoded, resulting in active HTML (for example an img tag with an event handler) in the supposed plaintext output. In contexts where the generated plaintext string is subsequently rendered as HTML, this can allow execution of attacker‑controlled Ja

    • Mettez à jour vers 2.0.31
    Publication Mise à jour
  3. CVE-2025-59526

    Faible · CVSS 2.7EPSS 0,44%Correctif disponible

    Mailgen: HTML injection vulnerability in plaintext e-mails

    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).

    • Mettez à jour vers 2.0.30
    Publication Mise à jour

Vérifiez votre serveur

Comparez votre pile et les versions installées aux bases de vulnérabilités actuelles.

Vérifiez votre serveur →