Vulnerability

CVE-2026-42548

highCVSS 4.0 8.6Published 13 May 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /flightphp/core/security/advisories/GHSA-fcx8-ph5r-mxr4

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning