High severityGHSA Advisory· Published May 13, 2026· Updated May 14, 2026
CVE-2026-42548
CVE-2026-42548
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
flightphp/corePackagist | < 3.18.1 | 3.18.1 |
Affected products
2Patches
Vulnerability mechanics
References
3News mentions
0No linked articles in our index yet.