CVE-2024-53860
JSON

8.6high

Potential Abuse for Sending Arbitrary Emails in sp-php-email-handler

Severity
8.6high CVSS:3.1 by GitHub_M
Exploit likelihood
0.46% (higher than 41% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-mj5r-x73q-fjw6

Description

sp-php-email-handler is a PHP package for handling contact form submissions. Messages sent using this script are vulnerable to abuse, as the script allows anybody to specify arbitrary email recipients and include user-provided content in confirmation emails. This could enable malicious actors to use your server to send spam, phishing emails, or other malicious content, potentially damaging your domain's reputation and leading to blacklisting by email providers. Patched in version 1.0.0 by removing user-provided content from confirmation emails. All pre-release versions (alpha and beta) are vulnerable to this issue and should not be used. There are no workarounds for this issue. Users must upgrade to version 1.0.0 to mitigate the vulnerability.

Affected

Product or packageVersionsReported by
Spencer14420 SPEmailHandler-PHP< 1.0.0, before 1.0.0CVE List
spencer14420/sp-php-email-handler (Packagist)before 1.0.0GitHub Advisory Database

All scores

GitHub_M8.6high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N
GitHub8.6high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

Classification

CWE-74

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

sp-php-email-handler is a PHP package for handling contact form submissions. Messages sent using this script are vulnerable to abuse, as the script allows anybody to specify arbitrary email recipients and include user-provided content in confirmation emails. This could enable malicious actors to use your server to send spam, phishing emails, or other malicious content, potentially damaging your domain's reputation and leading to blacklisting by email providers. Patched in version 1.0.0 by removing user-provided content from confirmation emails. All pre-release versions (alpha and beta) are vulnerable to this issue and should not be used. There are no workarounds for this issue. Users must upgrade to version 1.0.0 to mitigate the vulnerability.

GitHub Advisory Database
Impact

Messages sent using this script are vulnerable to abuse, as the script allows anybody to specify arbitrary email recipients and include user-provided content in confirmation emails. This could enable malicious actors to use your server to send spam, phishing emails, or other malicious content, potentially damaging your domain's reputation and leading to blacklisting by email providers.

Patches

Patched in version 1.0.0 by removing user-provided content from confirmation emails. All pre-release versions (alpha and beta) are vulnerable to this issue and should not be used.

Workarounds

There are no workarounds for this issue. Users must upgrade to version 1.0.0 to mitigate the vulnerability.

NVD (es)

sp-php-email-handler es un paquete PHP para gestionar envíos de formularios de contacto. Los mensajes enviados mediante este script son vulnerables a abusos, ya que el script permite a cualquiera especificar destinatarios de correo electrónico arbitrarios e incluir contenido proporcionado por el usuario en los correos electrónicos de confirmación. Esto podría permitir que actores maliciosos utilicen su servidor para enviar spam, correos electrónicos de phishing u otro contenido malicioso, lo que podría dañar la reputación de su dominio y provocar que los proveedores de correo electrónico lo incluyan en la lista negra. Se ha aplicado un parche en la versión 1.0.0 eliminando el contenido proporcionado por el usuario de los correos electrónicos de confirmación. Todas las versiones preliminares (alfa y beta) son vulnerables a este problema y no se deben utilizar. No existen workarounds para este problema. Los usuarios deben actualizar a la versión 1.0.0 para mitigar la vulnerabilidad.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-53860 changed 2024-12-02CVE Terms of Use
GitHub Advisory DatabaseGHSA-mj5r-x73q-fjw6 changed 2024-12-02CC-BY-4.0
NVDCVE-2024-53860 changed 2026-06-17Public domain