CVE-2026-42548CWE-79

Flight: Reflected XSS via unvalidated JSONP callback in Flight::jsonp()

High · published May 13, 2026

CVSS v4.0
8.6
EPSS
1%
Percentile
42.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
8.6 · HIGH
Vector
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
EPSS
0.00504 · 42.2th percentile
Weakness
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2026-05-13T19:21Z
EPSS history
Timeline
  • 13 MAY 19:21Z
    Flight: Reflected XSS via unvalidated JSONP callback in Flight::jsonp()
    cvelistv5