CVE-2024-13918: Laravel framework susceptible to reflected cross-site scripting
The Laravel framework versions between 11.9.0 and 11.35.1 are susceptible to reflected cross-site scripting due to an improper encoding of request parameters in the debug-mode error page.
Published Mar 10, 2025 · Updated Mar 11, 2025
Affected packages
laravel/framework
- Ecosystem
- Composer (PHP)
- Affected
- >= 11.9.0, < 11.36.0
- Fixed in
- 11.36.0
- Check
composer show laravel/framework
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
The Laravel framework versions between 11.9.0 and 11.35.1 are susceptible to reflected cross-site scripting due to an improper encoding of request parameters in the debug-mode error page.
Credited to DmitriyLewen, xaldama, kalidor.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-13918
- https://github.com/laravel/framework/pull/53869
- https://github.com/laravel/framework/releases/tag/v11.36.0
- https://github.com/sbaresearch/advisories/tree/public/2024/SBA-ADV-20241209-01_Laravel_Reflected_XSS_via_Request_Parameter_in_Debug-Mode_Error_Page
- https://github.com/laravel/framework/commit/45287fb2a91c69bb1c110539b9b7341faf5aee33
- https://github.com/FriendsOfPHP/security-advisories/blob/master/laravel/framework/CVE-2024-13918.yaml
- https://github.com/advisories/GHSA-546h-56qp-8jmw
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Composer (PHP) vulnerabilities
All Composer (PHP) entriesCVE-2026-128083
Laravel: Task Output Injection - Concurrency Process
low2.3Nov 13, 2026CVE-2026-114508
Laravel relationship inclusion can trigger unauthorized data destruction
medium6.5Oct 23, 2026CVE-2026-114509
Laravel TokenGuard authentication bypass through non-string API credentials
critical9.2Oct 23, 2026CVE-2026-102279
Laravel: XSS in Debug Page Information
low3.1Sep 29, 2026GHSA-5vg9-5847-vvmq
Laravel Framework: CRLF injection in default email rule
high8.9Jun 17, 2026GHSA-crmm-hgp2-wgrp
Laravel Framework: Temporary Signed URL Path Confusion
medium4.2Jun 17, 2026
