Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:composer/laravel/framework@7.1.2
purl pkg:composer/laravel/framework@7.1.2
Next non-vulnerable version 7.30.6
Latest non-vulnerable version 12.1.1
Risk 4.0
Vulnerabilities affecting this package (5)
Vulnerability Summary Fixed by
VCID-6wn3-r4pw-a3a3
Aliases:
CVE-2021-43808
GHSA-66hf-2p6w-jqfw
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') Laravel is a web application framework. Laravel contain a possible cross-site scripting (XSS) vulnerability in the Blade templating engine. A broken HTML element may be clicked and the user 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.
7.30.6
Affected by 0 other vulnerabilities.
8.75.0
Affected by 0 other vulnerabilities.
VCID-96p3-hbxp-duaz
Aliases:
CVE-2021-21263
GHSA-3p32-j457-pg5x
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') Laravel is a web application framework. Versions of Laravel before 6.20.11, 7.30.2 and 8.22.1 contain a query binding exploitation. This same exploit applies to the illuminate/database package which is used by Laravel. If a request is crafted where a field that is normally a non-array value is an array, and that input is not validated or cast to its expected type before being passed to the query builder, an unexpected number of query bindings can be added to the query. In some situations, this will simply lead to no results being returned by the query builder; however, it is possible certain queries could be affected in a way that causes the query to return unexpected results.
7.30.2
Affected by 4 other vulnerabilities.
7.30.3
Affected by 3 other vulnerabilities.
8.22.1
Affected by 4 other vulnerabilities.
VCID-jdrm-xnf9-rybm
Aliases:
CVE-2020-24941
GHSA-w68r-5p45-5rqp
Incorrect Authorization An issue was discovered in Laravel before 6.18.35 and 7.x before 7.24.0. The $guarded property is mishandled in some situations involving requests with JSON column nesting expressions.
7.24.0
Affected by 4 other vulnerabilities.
VCID-wptp-4xv5-43du
Aliases:
GHSA-x7p5-p2c9-phvg
GMS-2021-114
GMS-2021-116
Unexpected database bindings This is a follow-up to the previous security advisory (GHSA-3p32-j457-pg5x) which addresses a few additional edge cases. If a request is crafted where a field that is normally a non-array value is an array, and that input is not validated or cast to its expected type before being passed to the query builder, an unexpected number of query bindings can be added to the query. In some situations, this will simply lead to no results being returned by the query builder; however, it is possible certain queries could be affected in a way that causes the query to return unexpected results.
7.30.4
Affected by 2 other vulnerabilities.
8.24.0
Affected by 3 other vulnerabilities.
VCID-xv5e-yt52-d7ae
Aliases:
CVE-2021-43617
GHSA-364w-9g92-3grq
Unrestricted Upload of File with Dangerous Type Laravel Framework does not sufficiently block the upload of executable PHP content because `Illuminate/Validation/Concerns/ValidatesAttributes.php` lacks a check for `.phar` files, which are handled as application/x-httpd-php on systems based on Debian. Note, this CVE Record is for Laravel Framework, and is unrelated to any reports concerning incorrectly written user applications for image upload.
8.73.0
Affected by 1 other vulnerability.
10.36.0
Affected by 0 other vulnerabilities.
Vulnerabilities fixed by this package (1)
Vulnerability Summary Aliases
VCID-a3yd-719n-mkax Laravel Cross-site Scripting (XSS) vulnerability in blade templating 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. GHSA-vr95-p7q6-8m9q

Date Actor Action Vulnerability Source VulnerableCode Version
2026-06-06T01:12:18.527004+00:00 GitLab Importer Affected by VCID-6wn3-r4pw-a3a3 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/laravel/framework/CVE-2021-43808.yml 38.6.0
2026-06-06T01:09:23.643623+00:00 GitLab Importer Affected by VCID-xv5e-yt52-d7ae https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/laravel/framework/CVE-2021-43617.yml 38.6.0
2026-06-06T00:35:55.496740+00:00 GitLab Importer Affected by VCID-jdrm-xnf9-rybm https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/laravel/framework/CVE-2020-24941.yml 38.6.0
2026-06-05T21:43:17.650258+00:00 GHSA Importer Fixing VCID-a3yd-719n-mkax https://github.com/advisories/GHSA-vr95-p7q6-8m9q 38.6.0
2026-06-04T20:44:20.122753+00:00 GitLab Importer Affected by VCID-wptp-4xv5-43du https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/laravel/framework/GMS-2021-116.yml 38.6.0
2026-06-04T20:43:23.348751+00:00 GitLab Importer Affected by VCID-96p3-hbxp-duaz https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/laravel/framework/CVE-2021-21263.yml 38.6.0
2026-06-04T16:51:19.541056+00:00 GithubOSV Importer Fixing VCID-a3yd-719n-mkax https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/05/GHSA-vr95-p7q6-8m9q/GHSA-vr95-p7q6-8m9q.json 38.6.0
2026-06-04T16:21:41.831563+00:00 GitLab Importer Fixing VCID-a3yd-719n-mkax https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/laravel/framework/GHSA-vr95-p7q6-8m9q.yml 38.6.0