CVE-2026-42548
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.
- Score
- CVSS 4.0 8.6 High
- Status
- Deferred - security-advisories@github.com
- Published
- 2026-05-13
- Last modified
- 2026-10-26
- Weaknesses
- CWE-79
Affected products
References
- https://github.com/flightphp/core/security/advisories/GHSA-fcx8-ph5r-mxr4