CVE-2024-21504
MEDIUM 6.1CVSS 3.1Cross-site Scripting in livewire/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.
- Published
- 19 Mar 2024
- Last modified
- 17 Jun 2026
- Assigned by
- report@snyk.io
- NVD status
- Analyzed
- Weakness
- CWE-79
- Also known as
- GHSA-389c-cf87-qmwj
- Sources
- NVDJSONOSV GHSA-389c-cf87-qmwjJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | laravel | livewirecpe:2.3:a:laravel:livewire:*:*:*:*:*:*:*:* |
>= 3.3.5, <= 3.4.9 | |
| OSV | Packagist | livewire/livewire | >= 3.3.5, < 3.4.9 | 3.4.9 |
References
- https://github.com/livewire/livewire/commit/c65b3f0798ab2c9338213ede3588c3cdf4e6fcc0 · Patch, WEB
- https://github.com/livewire/livewire/pull/8117 · Issue Tracking, Patch, WEB
- https://github.com/livewire/livewire/releases/tag/v3.4.9 · Release Notes, WEB
- https://security.snyk.io/vuln/SNYK-PHP-LIVEWIRELIVEWIRE-6446222 · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-21504 · ADVISORY
- https://github.com/livewire/livewire · PACKAGE
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 19 Mar 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 19 Mar 2024)