PoC Monitor
← All CVEs
CVE-2026-42548published 13 May 2026 19:21 UTCData: JSON · API

Flightphp core

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

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.6high · scored by CNA · CWE-79
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

flightphp core
  • < 3.18.1

Fixed in 3.18.1

Mitigation

Upgrade core to 3.18.1 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published13 May 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.