Skip to main content
← All vulnerabilities
CVE-2026-42548GHSA-FCX8-PH5R-MXR4

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.18.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • flightphp core

    fixed in 3.18.1

  • flightphp/corePackagist

    fixed in 3.18.1

References 1

GitHub · flightphp/core