Vulnerability 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 Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Laravel | Livewire | >= 3.3.5, <= 3.4.9 |
Related Weaknesses (CWE)
References
- https://github.com/livewire/livewire/commit/c65b3f0798ab2c9338213ede3588c3cdf4e6Patch
- https://github.com/livewire/livewire/pull/8117Issue TrackingPatch
- https://github.com/livewire/livewire/releases/tag/v3.4.9Release Notes
- https://security.snyk.io/vuln/SNYK-PHP-LIVEWIRELIVEWIRE-6446222ExploitThird Party Advisory
- https://github.com/livewire/livewire/commit/c65b3f0798ab2c9338213ede3588c3cdf4e6Patch
- https://github.com/livewire/livewire/pull/8117Issue TrackingPatch
- https://github.com/livewire/livewire/releases/tag/v3.4.9Release Notes
- https://security.snyk.io/vuln/SNYK-PHP-LIVEWIRELIVEWIRE-6446222ExploitThird Party Advisory
FAQ
What is CVE-2024-21504?
CVE-2024-21504 is a vulnerability with a CVSS score of 6.1 (MEDIUM). 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 contex...
How severe is CVE-2024-21504?
CVE-2024-21504 has been rated MEDIUM with a CVSS base score of 6.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-21504?
Check the references section above for vendor advisories and patch information. Affected products include: Laravel Livewire.