Intel

AIKIDO-2026-719942

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

Cross-Site Scripting (XSS)GHSA-r8g9-m376-w889 Published 2 days ago

82

High Risk

This Affects:

PHPflightphp/core
1.1.5 - 3.19.2
Fixed in 3.19.3
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.

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.

Background info

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

How to fix this

Upgrade the flightphp/core library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform