Medium severity · published Mar 19, 2024
CVE-2024-21504
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
6.1
CVSS
0.5%
EPSS
No
On KEV
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 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
Low
Integrity
Low
Availability
None
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 44% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
LI
Livewire · Laravel
3.3.5 through 3.4.9 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-21504
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-21504
Patch
https://github.com/livewire/livewire/commit/c65b3f0798ab2c9338213ede3588c3cdf4e6fcc0
Issue Tracking
https://github.com/livewire/livewire/pull/8117
Release Notes
https://github.com/livewire/livewire/releases/tag/v3.4.9
Exploit
https://security.snyk.io/vuln/SNYK-PHP-LIVEWIRELIVEWIRE-6446222
More from Livewire
9.8
CVE-2025-54068
Livewire vulnerable to remote command execution during property update hydration
9.8
CVE-2024-47823
Livewire is a full-stack framework for Laravel that allows for dynamic UI components without leaving PHP
8.8
CVE-2024-22859
Cross-Site Request Forgery (CSRF) vulnerability in livewire before v3.0.4, allows remote attackers to execute arbitrary code getCsrfToken function
