6.1medium
Cross-site Scripting in livewire/livewire
- Severity
- 6.1medium CVSS:3.1 by snyk
- Exploit likelihood
- 0.52% (higher than 45% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- snyk
- Also known as
- GHSA-389c-cf87-qmwj
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| livewire/livewire | from 3.3.5 before 3.4.9 | CVE List |
| laravel livewire | from 3.3.5 before 3.4.9, from 3.3.5 up to 3.4.9 | CVE List, NVD |
| livewire/livewire (Packagist) | from 3.3.5 before 3.4.9 | GitHub Advisory Database |
All scores
| snyk | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N/E:P |
| GitHub | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
Las versiones del paquete livewire/livewire desde 3.3.5 y anteriores a 3.4.9 son vulnerables a Cross-site Scripting (XSS) cuando una página usa [Url] para una propiedad. Un atacante puede inyectar código HTML en el contexto de la sesión del navegador del usuario creando un enlace malicioso y convenciendo al usuario de que haga clic en él.
References
| https://security.snyk.io/vuln/SNYK-PHP-LIVEWIRELIVEWIRE-6446222 | exploit, third-party-advisory, web | |
| https://github.com/livewire/livewire/releases/tag/v3.4.9 | release-notes, web | |
| https://github.com/livewire/livewire/pull/8117 | issue-tracking, patch, web | |
| https://github.com/livewire/livewire/commit/c65b3f0798ab2c9338213ede3588c3cdf4e6fcc0 | patch, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2024-21504 | advisory | |
| https://github.com/livewire/livewire | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-21504 changed 2024-08-27 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-389c-cf87-qmwj changed 2024-03-20 | CC-BY-4.0 |
| NVD | CVE-2024-21504 changed 2026-06-17 | Public domain |