SPEmailHandler-PHP has Potential Abuse for Sending Arbitrary Emails
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.
Source excerpt · OSVAffected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
| Affected range | Recorded fix |
|---|---|
| Earlier releases before 1.0.0Ecosystem versions | 1.0.0 |
Version evidence: OSV · GHSA-mj5r-x73q-fjw6
View original version evidence (6 explicit versions)
Original source description
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.
References
- Security advisory github.com/Spencer14420/SPEmailHandler-PHP/security/advisories/GHSA-mj5r-x73q-fjw6
- Security advisory nvd.nist.gov/vuln/detail/CVE-2024-53860
- Patch github.com/Spencer14420/SPEmailHandler-PHP/commit/6f00dd0d44ff27889aed2980a5ba06e60d83549d
- Source reference github.com/Spencer14420/SPEmailHandler-PHP