Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.3%top 73%

CVE-2026-42548: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in flightphp core

0
High
VulnerabilityCVE-2026-42548cvecve-2026-42548cwe-79
Published: 05/13/2026 (05/13/2026, 19:21:44 UTC)
Source: CVE Database V5
Vendor/Project: flightphp
Product: core

Description

FlightPHP core versions prior to 3.18.1 contain a reflected cross-site scripting (XSS) vulnerability in the Flight::jsonp() function. This occurs because the ? jsonp= query parameter is concatenated directly into a JavaScript response without validating that it is a legal JavaScript identifier. An attacker can exploit this to inject arbitrary JavaScript code that executes in the context of the response origin. The vulnerability is assigned CVE-2026-42548 and has a high severity score of 8.6. The issue is fixed in FlightPHP version 3.18.

CVSS v4.0

Score 8.6high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
None
Subsq. Confidentiality
Low
Subsq. Integrity
Low
Subsq. Availability
None
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

Affected software

GitHub Actionsmore threats →ai
flightphp/core
pkg:github/flightphp/core
Affected versions
<3.18.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/21/2026, 12:23:50 UTC

Technical Analysis

CVE-2026-42548 is a reflected cross-site scripting vulnerability in the FlightPHP micro-framework core prior to version 3.18.1. The Flight::jsonp() method improperly concatenates the ?jsonp= query parameter directly into an application/javascript response without validating that the parameter value is a valid JavaScript identifier. This allows attackers to inject arbitrary JavaScript code that executes in the origin context of the response. The vulnerability is categorized under CWE-79 (Improper Neutralization of Input During Web Page Generation). It has a CVSS 4.0 score of 8.6, indicating high severity. The vulnerability is resolved in FlightPHP 3.18.1.

Potential Impact

Successful exploitation of this vulnerability allows an attacker to perform reflected cross-site scripting attacks, leading to arbitrary JavaScript execution in the context of the affected web application. This can result in session hijacking, defacement, or other malicious actions executed by the victim's browser. The CVSS score of 8.6 reflects a high impact due to network attack vector, no privileges required, user interaction needed, and high impact on confidentiality and integrity.

Mitigation Recommendations

A fix for this vulnerability is available in FlightPHP version 3.18.1. Users and administrators should upgrade to version 3.18.1 or later to remediate this issue. Since this is not a cloud service, patching the affected software is required to mitigate the risk. No vendor advisory content contradicts this; therefore, upgrading is the recommended action.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-04-28T16:56:50.191Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a04d644cbff5d861003f1f2

Added to database: 05/13/2026, 19:51:32 UTC

Last enriched: 05/21/2026, 12:23:50 UTC

Last updated: 07/31/2026, 19:22:58 UTC

Views: 57

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses