Vulnerability 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.
Related Weaknesses (CWE)
References
- https://github.com/flightphp/core/security/advisories/GHSA-fcx8-ph5r-mxr4
- https://github.com/flightphp/core/security/advisories/GHSA-fcx8-ph5r-mxr4
FAQ
What is CVE-2026-42548?
CVE-2026-42548 is a documented vulnerability. 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...
How severe is CVE-2026-42548?
CVSS scoring is not yet available for CVE-2026-42548. Check NVD for updates.
Is there a patch for CVE-2026-42548?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.