{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-42548","id":"CVE-2026-42548","title":"Flight: Reflected XSS via unvalidated JSONP callback in Flight::jsonp()","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","descriptionLong":"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.","published":"2026-05-13T19:21:44.125Z","updated":"2026-10-28T02:30:49.059029263Z","reserved":"2026-04-28T16:56:50.191Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"4.0","score":8.6,"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","rating":"high","source":"GitHub_M"},"metrics":[{"version":"4.0","score":8.6,"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","rating":"high","source":"GitHub_M"},{"version":"4.0","score":8.6,"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/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","rating":"high","source":"github.com"},{"version":"4.0","score":null,"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","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"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","rating":"high","source":"GitHub"}],"rating":"high","products":["flightphp core"],"affectedProducts":[{"vendor":"flightphp","product":"core","defaultStatus":null,"versions":[{"version":"< 3.18.1","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"flightphp/core","purl":"pkg:composer/flightphp/core","ranges":["<3.18.1"],"fixed":["3.18.1"],"advisory":"GHSA-fcx8-ph5r-mxr4"}],"cwes":["CWE-79"],"aliases":["GHSA-fcx8-ph5r-mxr4"],"references":[{"url":"https://github.com/flightphp/core/security/advisories/GHSA-fcx8-ph5r-mxr4","tags":["x_refsource_CONFIRM","exploit","advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42548.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42548","tags":["advisory"]},{"url":"https://github.com/flightphp/core","tags":["package"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total"},"epss":0.00449,"epssPercentile":0.39788,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-42548","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42548","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-42548","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-fcx8-ph5r-mxr4","ok":true,"note":"GHSA-fcx8-ph5r-mxr4"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-42548","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}