
Find real vulnerabilities before they ship
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.
Base Score
8.6| Package (Ecosystem) | Introduced | Fixed | Limit |
|---|---|---|---|
| flightphp/core(Packagist) | 0 | 3.18.1 | N/A |
| Base Score | 8.6 |
|---|---|
| Vector String | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| Base Severity | High |
| Version | 4.0 |
| Attack Vector (AV) | NETWORK |