p PatchFirst

PatchFirst · Vulnerabilidades recientes

Vulnerabilidades de mailgen

Vulnerabilidades publicadas para mailgen en los últimos 30 días: 0. Incluidas en el catálogo KEV: 0.

Filtrar vulnerabilidades
Borrar filtros

Vulnerabilidades: 3

  1. CVE-2025-62380

    Baja · CVSS 2.9EPSS 0,45%Corrección 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

    • Actualiza a 2.0.32
    Publicación Actualización
  2. CVE-2025-62366

    Baja · CVSS 2.9EPSS 0,43%Corrección 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

    • Actualiza a 2.0.31
    Publicación Actualización
  3. CVE-2025-59526

    Baja · CVSS 2.7EPSS 0,44%Corrección 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).

    • Actualiza a 2.0.30
    Publicación Actualización

Comprueba tu servidor

Compara tu pila y las versiones instaladas con las bases actuales de vulnerabilidades.

Comprueba tu servidor →