Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:composer/laravel/framework@8.16.1
purl pkg:composer/laravel/framework@8.16.1
Next non-vulnerable version 10.48.29
Latest non-vulnerable version 12.1.1
Risk 4.0
Vulnerabilities affecting this package (10)
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.
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.
8.22.1
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.
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.
8.40.0
Affected by 5 other vulnerabilities.
VCID-su5t-5e4w-fbc2
Aliases:
CVE-2022-40482
Observable Discrepancy The authentication method in Laravel 8.x through 9.x before 9.32.0 was discovered to be vulnerable to user enumeration via timeless timing attacks with HTTP/2 multiplexing. This is caused by the early return inside the hasValidCredentials method in the Illuminate\Auth\SessionGuard class when a user is found to not exist.
9.32.0
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.
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.
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-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.
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:29.967436+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:57.148901+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:58.200794+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:13.560170+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-06T03:42:22.154450+00:00 GitLab Importer Affected by VCID-su5t-5e4w-fbc2 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/packagist/laravel/framework/CVE-2022-40482.yml 38.6.0
2026-06-06T01:12:19.422664+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:24.042454+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-04T20:50:18.662260+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:20.570417+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.846934+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