VDB
Sign up
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.2

Details

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.2
Fixcomposer require laravel/framework:^7.1.2

References

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"]}'