Skip to content
Heist/ feed
Back to feed
High

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

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-53860
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 03:50 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 27 Nov 2024, 21:31 UTC

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.

osv:CVE-2024-53860
Complete source record
{
  "id": "fa67be0c109334c4911c067a690d6b5d538e65921e939faaf0a890e241520a71",
  "url": "https://osv.dev/vulnerability/CVE-2024-53860",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Potential Abuse for Sending Arbitrary Emails in sp-php-email-handler",
    "summary": "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.",
    "evidence": "osv:CVE-2024-53860",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2024-53860",
      "aliases": [
        "CVE-2024-53860",
        "GHSA-mj5r-x73q-fjw6"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/spencer14420/spemailhandler-php",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "6f00dd0d44ff27889aed2980a5ba06e60d83549d"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.0.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "6f00dd0d44ff27889aed2980a5ba06e60d83549d"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.0.0"
                      }
                    ],
                    "source": "DESCRIPTION"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.0.0-beta2",
            "1.0.0-beta1",
            "1.0.0-alpha4",
            "1.0.0-alpha3",
            "1.0.0-alpha2",
            "1.0.0-alpha"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-53860.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:49.427056893Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/53xxx/CVE-2024-53860.json",
        "https://github.com/Spencer14420/SPEmailHandler-PHP/security/advisories/GHSA-mj5r-x73q-fjw6",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-53860",
        "https://github.com/Spencer14420/SPEmailHandler-PHP/commit/6f00dd0d44ff27889aed2980a5ba06e60d83549d"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-74"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/53xxx/CVE-2024-53860.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-53860",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 517891,
  "published_at": "2024-11-27T21:31:07.431+00:00"
}