{"id":"CVE-2026-42548","published":"2026-05-13T19:21:44Z","modified":"2026-05-14T12:32:32Z","title":"Flight: Reflected XSS via unvalidated JSONP callback in Flight::jsonp()","vendor":"flightphp","product":"core","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.6,"severity":"HIGH","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00449,"percentile":0.39926,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/flightphp/core/security/advisories/GHSA-fcx8-ph5r-mxr4","tags":["x_refsource_CONFIRM"]}],"priority":{"score":14.0,"factors":[{"name":"EPSS percentile","points":7.99},{"name":"CVSS severity","points":6.02}]},"vendorSlug":"flightphp","affectedVersions":[{"vendor":"flightphp","product":"core","versions":["< 3.18.1"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2026-05-14T12:32:10.434815Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"flightphp/core","vulnerableRanges":["<3.18.1"],"patched":["3.18.1"],"from":["GHSA-fcx8-ph5r-mxr4"],"provenance":"source"}],"summary":{"text":"The flaw is a reflected cross-site scripting issue in the Flight::jsonp() method of the Flight PHP micro-framework (core product, flightphp vendor), which concatenates the ?jsonp= query parameter into an application/javascript response without checking that it is a legal JavaScript identifier. An attacker can exploit it by getting a victim to load a crafted URL that injects arbitrary JavaScript executing in the response origin, which requires network access and user interaction (such as clicking a link) but no authentication.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:43:46Z"},"euvd":{"id":"EUVD-2026-30147","exploited":false,"provenance":"source"}}