Vulnerabilities · 2020 · Laravel
CVE-2020-24940
Laravel vulnerability
An issue was discovered in Laravel before 6.18.34 and 7.x before 7.23.2. Unvalidated values are saved to the database in some situations in which table names are stripped during a mass assignment.
Affected products
Laravel. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Laravel runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- blog.laravel.com/security-release-laravel-61834-7232 · Vendor Advisory
- nvd.nist.gov/vuln/detail/CVE-2020-24940
- github.com/FriendsOfPHP/security-advisories/blob/master/illuminate/database/CVE-2020-24940
- github.com/advisories/GHSA-c7rm-w2hj-x8g3
- nvd.nist.gov/vuln/detail/CVE-2020-24940
- cve.org/CVERecord?id=CVE-2020-24940
More vulnerabilities in Laravel products
CVE-2025-54068CVE-2025-27515CVE-2024-55661CVE-2024-52301CVE-2024-47823CVE-2024-22859CVE-2024-21504CVE-2024-13919All 25
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.