CVE-2026-42548
HIGH 8.6CVSS 4.0Flight has reflected XSS through an unvalidated JSONP callback in Flight::jsonp()
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.
- Published
- 13 May 2026
- Last modified
- 26 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-79
- Also known as
- GHSA-fcx8-ph5r-mxr4
- Sources
- NVDJSONOSV GHSA-fcx8-ph5r-mxr4JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 8.6 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Packagist | flightphp/core | < 3.18.1 | 3.18.1 |
References
- https://github.com/flightphp/core/security/advisories/GHSA-fcx8-ph5r-mxr4 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-42548 · ADVISORY
- https://github.com/flightphp/core · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 13 May 2026)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 6 May 2026)