CVE-2026-24476: Php Unescaped Title Injection

The application assigns an unescaped potentially-user-controlled property (such as an entity title) into a view template variable. This can lead to Stored XSS if the value is reflected directly into unprotected layout elements like `<title>` tags. Explicitly wrap the value in an escaping function like `escape()` or `htmlspecialchars()`.

Provally CuratedPublic repositoryMediumMedium confidenceVerifiedApache-2.0PHP
greprules fetch cve-2026-24476-php-unescaped-title-injection --engine opengrep

Description

The application assigns an unescaped potentially-user-controlled property (such as an entity title) into a view template variable. This can lead to Stored XSS if the value is reflected directly into unprotected layout elements like `<title>` tags. Explicitly wrap the value in an escaping function like `escape()` or `htmlspecialchars()`.