CVE-2024-13918Laravel Reflected XSS via Request Parameter in Debug-Mode Error Page
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.
What to do
Fixed builds are available from Packagist: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Packagist library | laravel/framework | Fixed | 11.36.0 | GHSA-546h-56qp-8jmw |
What the vendor says
As published in the CVE record by sba-research, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Laravel Holdings Inc. Laravel Framework: affected: 11.9.0 to 11.35.1
Solution: Update to version 11.36.0 or later.
Workaround: Ensure that the application does not run in debug-mode by setting APP_DEBUG=false in your configuration.
Vendor advisories:
- https://github.com/laravel/framework/pull/53869 (patch)
- https://github.com/laravel/framework/releases/tag/v11.36.0 (release-notes)
References
- 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/pull/53869
- https://github.com/laravel/framework/releases/tag/v11.36.0
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.