Vulnerability record · CVE-2024-21504 · published 19 March 2024
CVE-2024-21504: Laravel livewire cross-site scripting vulnerability
Laravel · Livewire
Versions of the package livewire/livewire from 3.3.5 and before 3.4.9 are vulnerable to Cross-site Scripting (XSS) when a page uses [Url] for a property. An attacker can inject HTML code in the context of the user's browser session by crafting a malicious link and convincing the user to click on it.
Description
Versions of the package livewire/livewire from 3.3.5 and before 3.4.9 are vulnerable to Cross-site Scripting (XSS) when a page uses [Url] for a property. An attacker can inject HTML code in the context of the user's browser session by crafting a malicious link and convincing the user to click on it.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://github.com/livewire/livewire/commit/c65b3f0798ab2c9338213ede3588c3cdf4e6fcc0 | Patch |
| https://github.com/livewire/livewire/pull/8117 | Issue TrackingPatch |
| https://github.com/livewire/livewire/releases/tag/v3.4.9 | Release Notes |
| https://security.snyk.io/vuln/SNYK-PHP-LIVEWIRELIVEWIRE-6446222 | ExploitThird Party Advisory |
| https://github.com/livewire/livewire/commit/c65b3f0798ab2c9338213ede3588c3cdf4e6fcc0 | Patch |
| https://github.com/livewire/livewire/pull/8117 | Issue TrackingPatch |
| https://github.com/livewire/livewire/releases/tag/v3.4.9 | Release Notes |
| https://security.snyk.io/vuln/SNYK-PHP-LIVEWIRELIVEWIRE-6446222 | ExploitThird Party Advisory |
Track CVE-2024-21504 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2024-21504), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.