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.
CVSS

No CVSS.

Configurations

No configuration.

History

14 May 2026, 13:16

Type Values Removed Values Added
References () https://github.com/flightphp/core/security/advisories/GHSA-fcx8-ph5r-mxr4 - () https://github.com/flightphp/core/security/advisories/GHSA-fcx8-ph5r-mxr4 -

13 May 2026, 20:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-05-13 20:16

Updated : 2026-06-17 10:48


NVD link : CVE-2026-42548

Mitre link : CVE-2026-42548

CVE.ORG link : CVE-2026-42548


JSON object : View

Products Affected

No product.

CWE
CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')