medium6.1
CVE-2024-21504
Cross-site Scripting in livewire/livewire
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| composer | livewire/livewire | >= 3.3.5, < 3.4.9 | 3.4.9 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Laravel | Livewire | from 3.3.5 through 3.4.9 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/livewire/livewire/commit/c65b3f0798ab2c9338213ede3588c3cdf4e6fcc0
- https://github.com/livewire/livewire/pull/8117
- https://github.com/livewire/livewire/releases/tag/v3.4.9
- https://security.snyk.io/vuln/SNYK-PHP-LIVEWIRELIVEWIRE-6446222
- https://github.com/advisories/GHSA-389c-cf87-qmwj
- https://nvd.nist.gov/vuln/detail/CVE-2024-21504