Intel

AIKIDO-2026-719942

flightphp/core is vulnerable to Cross-Site Scripting (XSS)

GHSA-r8g9-m376-w889Published Sep 22, 2026
September 22, 2026

82

CVE Score

High

Cross-Site Scripting (XSS)

Are you affected? Scan for Free

TL;DR

FlightPHP's View::e() output-escaping helper calls htmlentities() without explicit flags, so on PHP 7.4 and 8.0 the default ENT_COMPAT flag leaves single quotes unescaped. user controlled values rendered through e() inside a single-quoted HTML attribute break out of the attribute and inject arbitrary markup or script. The fix passes ENT_QUOTES | ENT_SUBSTITUTE and 'UTF-8' to htmlentities() so single quotes are escaped on every supported PHP version.

How do I fix this?

Upgrade the flightphp/core library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you run on PHP 7.4 or 8.0.

Versions

1.1.5 - 3.19.2

Fixed in 3.19.3

Background info

flightphp/core is vulnerable to Cross-Site Scripting (XSS) in versions 1.1.5 - 3.19.2.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea