Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:composer/laravel/framework@6.5.2
purl pkg:composer/laravel/framework@6.5.2
Next non-vulnerable version 10.48.29
Latest non-vulnerable version 12.1.1
Risk 4.0
Vulnerabilities affecting this package (13)
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.
6.20.42
Affected by 3 other vulnerabilities.
7.30.6
Affected by 2 other vulnerabilities.
8.75.0
Affected by 3 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.
6.20.11
Affected by 10 other vulnerabilities.
6.20.12
Affected by 9 other vulnerabilities.
7.30.2
Affected by 8 other vulnerabilities.
7.30.3
Affected by 7 other vulnerabilities.
8.22.1
Affected by 9 other vulnerabilities.
VCID-dn8a-epsk-fkgm
Aliases:
GHSA-44pg-c29v-hp6r
Laravel Guard bypass in Eloquent models In laravel releases before 6.18.34 and 7.23.2. It was possible to mass assign Eloquent attributes that included the model's table name: ``` $model->fill(['users.name' => 'Taylor']); ``` When doing so, Eloquent would remove the table name from the attribute for you. This was a "convenience" feature of Eloquent and was not documented. However, when paired with validation, this can lead to unexpected and unvalidated values being saved to the database. For this reason, we have removed the automatic stripping of table names from mass-asignment operations so that the attributes go through the typical "fillable" / "guarded" logic. Any attributes containing table names that are not explicitly declared as fillable will be discarded. This security release will be a breaking change for applications that were relying on the undocumented table name stripping during mass assignment. Since this feature was relatively unknown and undocumented, we expect the vast majority of Laravel applications to be able to upgrade without issues.
6.18.34
Affected by 11 other vulnerabilities.
7.23.2
Affected by 9 other vulnerabilities.
VCID-fhw2-erwk-fqf4
Aliases:
CVE-2024-52301
GHSA-gv7v-rgg6-548h
Laravel environment manipulation via query string When the `register_argc_argv php` directive is set to `on` , and users call any URL with a special crafted query string, they are able to change the environment used by the framework when handling the request.
6.20.45
Affected by 1 other vulnerability.
7.30.7
Affected by 1 other vulnerability.
8.83.28
Affected by 1 other vulnerability.
9.0.0-beta.1
Affected by 2 other vulnerabilities.
9.52.17
Affected by 1 other vulnerability.
10.48.23
Affected by 1 other vulnerability.
11.31.0
Affected by 3 other vulnerabilities.
VCID-hca6-rm5r-2ufs
Aliases:
GHSA-wq8p-mqvg-2p5h
laravel framework SQL Injection via limit and offset functions Those using SQL Server with Laravel and allowing user input to be passed directly to the limit and offset functions are vulnerable to SQL injection. Other database drivers such as MySQL and Postgres are not affected by this vulnerability.
6.20.26
Affected by 5 other vulnerabilities.
7.30.5
Affected by 3 other vulnerabilities.
8.40.0
Affected by 5 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.
6.18.35
Affected by 10 other vulnerabilities.
7.24.0
Affected by 8 other vulnerabilities.
VCID-pyw4-3cc2-nuc4
Aliases:
CVE-2019-9081
GHSA-pfg4-p438-p874
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') ** REJECT ** DO NOT USE THIS CANDIDATE NUMBER. ConsultIDs: none. Reason: This candidate was withdrawn by its CNA. Further investigation showed that it was not a security issue. Notes: none.
6.20.44
Affected by 2 other vulnerabilities.
VCID-tzy8-b9et-fyd9
Aliases:
CVE-2025-27515
GHSA-78fx-h6xr-vch4
Laravel has a File Validation Bypass When using wildcard validation to validate a given file or image field array (`files.*`), a user-crafted malicious request could potentially bypass the validation rules.
10.48.29
Affected by 0 other vulnerabilities.
11.44.1
Affected by 0 other vulnerabilities.
12.1.1
Affected by 0 other vulnerabilities.
VCID-w2jm-rq3n-vyhc
Aliases:
GHSA-jwvj-pwww-3mj5
laravel framework Unexpected database bindings via requests This is a follow-up to the security advisory https://github.com/laravel/framework/security/advisories/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.
6.20.14
Affected by 7 other vulnerabilities.
7.30.4
Affected by 5 other vulnerabilities.
8.24.0
Affected by 7 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.
6.20.14
Affected by 7 other vulnerabilities.
7.30.4
Affected by 5 other vulnerabilities.
8.24.0
Affected by 7 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 4 other vulnerabilities.
10.36.0
Affected by 2 other vulnerabilities.
VCID-zcqa-v2g7-pud6
Aliases:
GHSA-qm5c-m76r-2hfr
Laravel RCE vulnerability in "cookie" session driver Applications using the "cookie" session driver that were also exposing an encryption oracle via their application were vulnerable to remote code execution. An encryption oracle is a mechanism where arbitrary user input is encrypted and the encrypted string is later displayed or exposed to the user. This combination of scenarios lets the user generate valid Laravel signed encryption strings for any plain-text string, thus allowing them to craft Laravel session payloads when an application is using the "cookie" driver.
6.18.31
Affected by 12 other vulnerabilities.
7.22.4
Affected by 10 other vulnerabilities.
VCID-zj39-eevs-kug3
Aliases:
GHSA-4mg9-vhxq-vm7j
GMS-2021-113
GMS-2021-115
SQL Server LIMIT / OFFSET SQL Injection in laravel/framework and illuminate/database ### Impact Those using SQL Server with Laravel and allowing user input to be passed directly to the `limit` and `offset` functions is vulnerable to SQL injection. Other database drivers such as MySQL and Postgres are not affected by this vulnerability. ### Patches This problem has been patched on Laravel versions 6.20.26, 7.30.5, and 8.40.0. ### Workarounds You may workaround this vulnerability by ensuring that only integers are passed to the `limit` and `offset` functions, as well as the `skip` and `take` functions.
6.20.26
Affected by 5 other vulnerabilities.
8.40.0
Affected by 5 other vulnerabilities.
Vulnerabilities fixed by this package (0)
Vulnerability Summary Aliases
This package is not known to fix vulnerabilities.

Date Actor Action Vulnerability Source VulnerableCode Version
2026-06-06T05:41:28.931858+00:00 GitLab Importer Affected by VCID-tzy8-b9et-fyd9 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/laravel/framework/CVE-2025-27515.yml 38.6.0
2026-06-06T05:30:56.176266+00:00 GitLab Importer Affected by VCID-fhw2-erwk-fqf4 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/laravel/framework/CVE-2024-52301.yml 38.6.0
2026-06-06T04:55:56.036205+00:00 GitLab Importer Affected by VCID-hca6-rm5r-2ufs https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/laravel/framework/GHSA-wq8p-mqvg-2p5h.yml 38.6.0
2026-06-06T04:55:12.039963+00:00 GitLab Importer Affected by VCID-w2jm-rq3n-vyhc https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/laravel/framework/GHSA-jwvj-pwww-3mj5.yml 38.6.0
2026-06-06T04:54:30.581978+00:00 GitLab Importer Affected by VCID-dn8a-epsk-fkgm https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/laravel/framework/GHSA-44pg-c29v-hp6r.yml 38.6.0
2026-06-06T04:54:10.651384+00:00 GitLab Importer Affected by VCID-zcqa-v2g7-pud6 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/laravel/framework/GHSA-qm5c-m76r-2hfr.yml 38.6.0
2026-06-06T01:58:45.874681+00:00 GitLab Importer Affected by VCID-pyw4-3cc2-nuc4 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/laravel/framework/CVE-2019-9081.yml 38.6.0
2026-06-06T01:12:17.468188+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.132979+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:54.793950+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-04T20:50:18.408347+00:00 GitLab Importer Affected by VCID-zj39-eevs-kug3 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/laravel/framework/GMS-2021-115.yml 38.6.0
2026-06-04T20:44:19.700441+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:22.890169+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