Reflected Cross-Site Scripting in Flight Micro-Framework for PHP
CVE-2026-42548

8.6HIGH

Key Information:

Vendor

FlightPHP

Status
Vendor
CVE Published:
13 May 2026

What is CVE-2026-42548?

The Flight micro-framework for PHP has a vulnerability that arises from improper handling of the ?jsonp= query parameter in versions prior to 3.18.1. Specifically, the Flight::jsonp() function directly inserts this value into an application/javascript response body without validating it as a legitimate JavaScript identifier. This lack of validation allows attackers to inject malicious JavaScript, which may be executed in the context of the response's origin, leading to reflected cross-site scripting attacks that can compromise user information and application integrity. The issue has been addressed in version 3.18.1.

Affected Version(s)

core < 3.18.1

References

CVSS V4

Score:
8.6
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
Unknown

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.