CVE-2024-21504 json
Cross-site Scripting in livewire/livewire
published 2024-03-19 2 y ago modified 2026-06-17 4 mo ago also EUVD-2024-0800 , GHSA-389c-cf87-qmwj
- cvss
- 6.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 44%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- packagist livewire/livewire 3.4.9
- n/a livewire/livewire 3.4.9
- laravel livewire 3.4.9
- github.com/livewire/livewire@c65b3f0 commit
- github.com/livewire/livewire#8117 pull request
- github.com/livewire/livewire/releases/tag/v3.4.9 release
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.52% chance of exploitation in the next 30 days, higher than 44% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- security.snyk.io https://security.snyk.io/vuln/SNYK-PHP-LIVEWIRELIVEWIRE-6446222 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N/E:P |
| GitHub | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| CNA | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | livewire/livewire | >=3.3.5, <3.4.9 |
3.4.9 |
Affected products
- n/a livewire/livewire
- laravel livewire
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
- Technology feeds
References
-
github.com
/livewire/livewire/pull/8117
web, issue-tracking, patch
-
github.com
/livewire/livewire/commit/c65b3f0798ab2c9338213ede3588c3cdf4e6fcc0
web, patch
-
security.snyk.io
/vuln/SNYK-PHP-LIVEWIRELIVEWIRE-6446222
web, exploit, third-party-advisory
-
github.com
/livewire/livewire/releases/tag/v3.4.9
web, release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2024-21504
advisory
-
github.com
/livewire/livewire
package
Sources
- CVE List CVE-2024-21504
- GitHub Advisory GHSA-389c-cf87-qmwj
- NVD CVE-2024-21504
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.