Back to search
CVE-2026-42548
Published: May 13, 2026
Modified: May 14, 2026
PUBLISHED
Description
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.
| Vendor | Product | Versions |
|---|---|---|
flightphp | core | affected < 3.18.1 |
Weaknesses (CWE)
References
https://github.com/flightphp/core/security/advisories/GHSA-fcx8-ph5r-mxr4
x_refsource_CONFIRM
Security Training
Train your team to recognize and prevent security threats with our comprehensive security awareness program.
Start TrainingVulnerability Scanning
Discover vulnerabilities in your applications and infrastructure before attackers do.
Scan Now