{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "3.18.1"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "b8dd23aaa828cb289fa3c84e75b2a3717cab50b0"
            }
          ],
          "repo": "https://github.com/flightphp/core",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-fcx8-ph5r-mxr4"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42548.json"
  },
  "details": "Flight is an extensible micro-framework for PHP. Prior to 3.18.1, Flight::jsonp() concatenates the ?jsonp= query parameter directly into an application/javascript response body without validating that the value is a legal JavaScript identifier. An attacker can inject arbitrary JavaScript that executes in the response origin, enabling reflected cross-site scripting. This vulnerability is fixed in 3.18.1.",
  "id": "CVE-2026-42548",
  "modified": "2026-07-15T01:48:54.446636300Z",
  "published": "2026-05-13T19:21:44.125Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42548.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/flightphp/core/security/advisories/GHSA-fcx8-ph5r-mxr4"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-42548"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:L/SI:L/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Flight: Reflected XSS via unvalidated JSONP callback in Flight::jsonp()"
}