MediumGHSA-vr95-p7q6-8m9q
Laravel Cross-site Scripting (XSS) vulnerability in blade templating
Published 15 May 2024 · Updated 29 Nov 2024
Affected package
laravel/frameworkComposer
- Affected
- >=7.0.0 <7.1.2
- Fixed in
- 7.1.2
Update to the fixed version for your release line, for example:
composer require laravel/framework:^7.1.2Details
Laravel 7.1.2 addresses a possible XSS related attack vector in the Laravel 7.x Blade Component tag attributes when users are allowed to dictate the value of attributes. All Laravel 7.x users are encouraged to upgrade as soon as possible.
Is GHSA-vr95-p7q6-8m9q in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected laravel/framework, and gives you the command that fixes it.
References
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.