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.
References
| Link | Resource |
|---|---|
| https://github.com/livewire/livewire/commit/c65b3f0798ab2c9338213ede3588c3cdf4e6fcc0 | Patch |
| https://github.com/livewire/livewire/pull/8117 | Issue Tracking Patch |
| https://github.com/livewire/livewire/releases/tag/v3.4.9 | Release Notes |
| https://security.snyk.io/vuln/SNYK-PHP-LIVEWIRELIVEWIRE-6446222 | Exploit Third Party Advisory |
| https://github.com/livewire/livewire/commit/c65b3f0798ab2c9338213ede3588c3cdf4e6fcc0 | Patch |
| https://github.com/livewire/livewire/pull/8117 | Issue Tracking Patch |
| https://github.com/livewire/livewire/releases/tag/v3.4.9 | Release Notes |
| https://security.snyk.io/vuln/SNYK-PHP-LIVEWIRELIVEWIRE-6446222 | Exploit Third Party Advisory |
Configurations
History
No history.
Information
Published : 2024-03-19 05:15
Updated : 2025-08-25 17:59
NVD link : CVE-2024-21504
Mitre link : CVE-2024-21504
CVE.ORG link : CVE-2024-21504
JSON object : View
Products Affected
laravel
- livewire
CWE
CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
