# CVE-2024-53860: Potential Abuse for Sending Arbitrary Emails in sp-php-email-handler

- Severity: High 8.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.46%, higher than 41% of CVEs (2026-12-01)
- Published: 2024-11-27T21:31:07.431Z
- Modified: 2026-06-17T08:09:25.790Z
- Also known as: GHSA-mj5r-x73q-fjw6
- Weaknesses: CWE-74
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- Spencer14420 SPEmailHandler-PHP: < 1.0.0; before 1.0.0
- spencer14420/sp-php-email-handler (Packagist): before 1.0.0

## Every score

- GitHub_M: CVSS:3.1 8.6 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N`
- GitHub: CVSS:3.1 8.6 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N`

## References

- <https://github.com/Spencer14420/SPEmailHandler-PHP/security/advisories/GHSA-mj5r-x73q-fjw6> (web)
- <https://github.com/Spencer14420/SPEmailHandler-PHP/commit/6f00dd0d44ff27889aed2980a5ba06e60d83549d> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-53860> (advisory)
- <https://github.com/Spencer14420/SPEmailHandler-PHP> (package)

## Sources

- CVE List: [CVE-2024-53860](https://www.cve.org/CVERecord?id=CVE-2024-53860), CVE Terms of Use, modified 2024-12-02
- GitHub Advisory Database: [GHSA-mj5r-x73q-fjw6](https://github.com/advisories/GHSA-mj5r-x73q-fjw6), CC-BY-4.0, modified 2024-12-02
- NVD: [CVE-2024-53860](https://nvd.nist.gov/vuln/detail/CVE-2024-53860), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-53860 · Whole record: https://cve.day/CVE-2024-53860.json · Rebuilt by cve.day 2026-11-25T22:58:49.505Z
