Cross-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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | livewire/livewire | >= 3.3.5, < 3.4.9 | 3.4.9 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-21504
- https://github.com/livewire/livewire/pull/8117
- https://github.com/livewire/livewire/commit/c65b3f0798ab2c9338213ede3588c3cdf4e6fcc0
- https://github.com/livewire/livewire
- https://github.com/livewire/livewire/releases/tag/v3.4.9
- https://security.snyk.io/vuln/SNYK-PHP-LIVEWIRELIVEWIRE-6446222
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N- Weakness (CWE)
CWE-79- Platform
- Composer
- Package
livewire/livewire- Disclosed
- 19.03.2024
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-389c-cf87-qmwj - CC BY 4.0
Vulnerability history: livewire/livewire
All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 5
- First → latest
- 03.2024 09.2026
- Without a fix
- 0
- Exploited in attacks
- 1
Severity breakdown
- Critical 1
- High 1
- Medium 3
Disclosures per year
- 2024: 3
- 2025: 1
- 2026: 1
-
Cross-site Scripting in livewire/livewire this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.