Loading advisory.
Loading advisory.
Laravel Framework XSS in Blade templating engine
A security researcher has disclosed a possible XSS vulnerability in the Blade templating engine.
Published 2021-12-07 22:20 UTC · Modified 2026-07-08 06:27 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| laravel/framework | Packagist | < 6.20.42 >= 7.0.0, < 7.30.6 >= 8.0.0, < 8.75.0 versions 5.0.30, 5.2.41, v4.0.0, v4.0.0-BETA2, v4.0.0-BETA3, v4.0.0-BETA4, v4.0.1, v4.0.10, v4.0.11, v4.0.2, v4.0.3, v4.0.4, v4.0.5, v4.0.6, v4.0.7, v4.0.8, v4.0.9, v4.1.0, v4.1.1, v4.1.10 and 722 more | 6.20.42, 7.30.6, 8.75.0 | composer require 'laravel/framework:>=6.20.42'composer require 'laravel/framework:>=7.30.6'composer require 'laravel/framework:>=8.75.0' |
| illuminate/view | Packagist | < 6.20.42 >= 7.0.0, < 7.30.6 >= 8.0.0, < 8.75.0 versions 5.7.17, 5.7.18, 5.7.19, v1.0.0, v1.1.0, v1.1.1, v4.0.0, v4.0.0-BETA2, v4.0.0-BETA3, v4.0.0-BETA4, v4.0.1, v4.0.10, v4.0.2, v4.0.3, v4.0.4, v4.0.5, v4.0.6, v4.0.7, v4.0.8, v4.0.9 and 495 more | 6.20.42, 7.30.6, 8.75.0 | composer require 'illuminate/view:>=6.20.42'composer require 'illuminate/view:>=7.30.6'composer require 'illuminate/view:>=8.75.0' |
A security researcher has disclosed a possible XSS vulnerability in the Blade templating engine.
Given the following two Blade templates:
resources/views/parent.blade.php:
@section('content')
<input value="{{ $value }}">
@showresources/views/child.blade.php:
@extends('parent')
@section('content')
<input value="{{ $value }}">
@endsectionAnd a route like the following:
Route::get('/example', function() {
$value = '//localhost/###parent-placeholder-040f06fd774092478d450774f5ba30c5da78acc8## onclick=location.assign(this.value);//';
return view('child', ['value' => $value]);
});The broken HTML element may be clicked and the user is taken to another location in their browser due to XSS. This is due to the user being able to guess the parent placeholder SHA-1 hash by trying common names of sections. If the parent template contains an exploitable HTML structure an XSS vulnerability can be exposed.
This vulnerability has been patched by determining the parent placeholder at runtime and using a random hash that is unique to each request.
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
One EPSS score on record: 0.008 on 2026-11-24.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.008 | first score | v2026.06.15 |