CVE-2026-24127: Php Unvalidated Flash Session Data

Direct assignment of unvalidated parsed request bodies from HTTP requests into the user $_SESSION without upfront sanitization. This is highly risky if the underlying view engine (like Twig) is not properly configured with strict autoescaping, leading to Reflected or Stored Cross-Site Scripting (XSS).

Provally CuratedPublic repositoryMediumMedium confidenceVerifiedApache-2.0PHP
greprules fetch cve-2026-24127-php-unvalidated-flash-session-data --engine opengrep

Description

Direct assignment of unvalidated parsed request bodies from HTTP requests into the user $_SESSION without upfront sanitization. This is highly risky if the underlying view engine (like Twig) is not properly configured with strict autoescaping, leading to Reflected or Stored Cross-Site Scripting (XSS).