CVE-2026-41524: Php Stored Xss Unsanitized Html Model Content

User-supplied HTML content from a rich-text editor is stored in a model's 'content' property without HTML sanitization. When this field is later rendered with an unescaped directive (e.g., Laravel Blade's {!! !!}), it enables stored XSS: any injected script executes in every visitor's browser on page load. Apply an allowlist-based HTML sanitizer (e.g., HTMLP

Provally CuratedPublic repositoryHighMedium confidenceVerifiedApache-2.0PHP
greprules fetch cve-2026-41524-php-stored-xss-unsanitized-html-model-content --engine opengrep

Description

User-supplied HTML content from a rich-text editor is stored in a model's 'content' property without HTML sanitization. When this field is later rendered with an unescaped directive (e.g., Laravel Blade's {!! !!}), it enables stored XSS: any injected script executes in every visitor's browser on page load. Apply an allowlist-based HTML sanitizer (e.g., HTMLP