CVE Catalog

CVE-2026-42548

High
Published: Translated: NVD NIST

Summary

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.

Risk Assessment

An attacker can exploit this vulnerability to perform reflected cross-site scripting attacks, potentially leading to user data theft or session hijacking.

Recommendation

It is recommended to upgrade to version 3.18.1 or later to mitigate this vulnerability.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS