CVE 8.6 HIGH

Flight: Reflected XSS via unvalidated JSONP callback in Flight::jsonp()_CVE-2026-42548

8.6 / 10
HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:L/SI:L/SA:N

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 Analysis

Reflected cross-site scripting vulnerability via unvalidated JSONP callback in Flight::jsonp()

Basic Information

ID CVE-2026-42548
Source GitHub_M
Published May 13, 2026 at 19:21

Affected Product

Vendor flightphp
Product core
Version < 3.18.1
Affected Versions flightphp core < 3.18.1

CWE Classification

AI Assessment

AI Score 8.6 / 10
AI Severity High
Vendor FlightPHP
Product Flight
Version < 3.18.1

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.