GHSA-vr95-p7q6-8m9q Laravel Cross-site Scripting (XSS) vulnerability in blade templating
Attackers can inject malicious scripts via Blade component attributes if user input is not sanitized, affecting Laravel 7.x users.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is GHSA-vr95-p7q6-8m9q?
GHSA-vr95-p7q6-8m9q is a cross-site scripting vulnerability in laravel/framework, published on 15 May 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Which versions are affected by GHSA-vr95-p7q6-8m9q?
2 open source packages ship an affected version, including laravel/framework.
| Package | Affected | Fixed in |
|---|---|---|
laravel/framework Packagist | From 7.0.0 | 7.1.2 |
laravel/framework Packagist | From 7.0.0 | 7.1.2 |
How do I fix GHSA-vr95-p7q6-8m9q?
Upgrade laravel/framework to 7.1.2 or later.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is GHSA-vr95-p7q6-8m9q being exploited?
There is no known exploitation of GHSA-vr95-p7q6-8m9q in the wild and no public exploit code.