Back to CVE List

CVE-2026-42548

HIGH SEVERITY

Vulnerability 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.18.1.

Vulnerability Details

Published Date
Last Modified
CWE ID
CWE-79
Source
GitHub
Vendor
composer
Product
flightphp/core

External References

Discussion (0)

Add Comment

No comments yet. Be the first!