Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2017-11503

PHPMailer 5.2.23 has XSS in the "From Email Address" and "To Email Address" fields of code_generator.php.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2017-11503
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 09:43 UTC · Revision 1

Source evidence

CVE-2017-11503

core-osv · Original source

Published 20 Jul 2017, 23:29 UTC

PHPMailer 5.2.23 has XSS in the "From Email Address" and "To Email Address" fields of code_generator.php.

osv:CVE-2017-11503
Complete source record
{
  "id": "bbf51718798c57b7d9522a8c5e649c1763ba214435a9f44da1d41d0c9ff2fb4e",
  "url": "https://osv.dev/vulnerability/CVE-2017-11503",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2017-11503",
    "summary": "PHPMailer 5.2.23 has XSS in the \"From Email Address\" and \"To Email Address\" fields of code_generator.php.",
    "evidence": "osv:CVE-2017-11503",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2017-11503",
      "aliases": [
        "CVE-2017-11503",
        "GHSA-58mj-pw57-4vm2"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/phpmailer/phpmailer",
              "type": "GIT",
              "events": [
                {
                  "introduced": "7115df4a6f76281109ebe352900c42403b728bb4"
                },
                {
                  "last_affected": "7115df4a6f76281109ebe352900c42403b728bb4"
                },
                {
                  "fixed": "22d04c6a58145a244696f3f254c1875aa653b26a"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:phpmailer_project:phpmailer:5.2.23:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "5.2.23"
                      },
                      {
                        "last_affected": "5.2.23"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "range": [
                      {
                        "fixed": "22d04c6a58145a244696f3f254c1875aa653b26a"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v5.2.24"
                  }
                ]
              }
            }
          ],
          "versions": [
            "5.2.23",
            "v5.2.23"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-11503.json"
          }
        }
      ],
      "modified": "2026-10-20T10:47:41.514472403Z",
      "provider": "osv",
      "references": [
        "https://github.com/PHPMailer/PHPMailer/releases/tag/v5.2.24",
        "https://github.com/PHPMailer/PHPMailer",
        "https://cxsecurity.com/issue/WLB-2017060181",
        "https://packetstormsecurity.com/files/143138/phpmailer-xss.txt"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2017-11503",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 379631,
  "published_at": "2017-07-20T23:29:00.31+00:00"
}