MEDIUM4.3
GHSA-vr95-p7q6-8m9q
Laravel Cross-site Scripting (XSS) vulnerability in blade templating
Quick fix
GHSA-vr95-p7q6-8m9q — laravel/framework: upgrade to the fixed version with the command below.
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/laravel/framework
Introduced in:
7.0.0Fixed in: 7.1.2Fix
composer require laravel/framework:^7.1.2References
- https://github.com/laravel/framework/pull/31945[WEB]
- https://blog.laravel.com/security-laravel-712-released[WEB]
- https://github.com/FriendsOfPHP/security-advisories/blob/master/laravel/framework/2020-03-13-1.yaml[WEB]
- https://github.com/laravel/framework[PACKAGE]
- https://github.com/laravel/framework/releases/tag/v7.1.2[WEB]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:composer/laravel/framework"]}'