{"id":"CVE-2024-21504","aliases":["GHSA-389c-cf87-qmwj"],"url":"https://o3.security/vulnerability/CVE-2024-21504","summary":"Cross-site Scripting in livewire/livewire","details":"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":"2024-03-19T05:00:00.698Z","modified":"2026-07-15T01:49:17.148691034Z","cvss":{"score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N/E:P"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Packagist","name":"livewire/livewire","fixedVersion":"3.4.9"}],"fix":{"url":"https://github.com/livewire/livewire/commit/c65b3f0798ab2c9338213ede3588c3cdf4e6fcc0","label":"livewire/livewire@c65b3f0"},"references":[{"type":"WEB","url":"https://github.com/livewire/livewire/releases/tag/v3.4.9"},{"type":"WEB","url":"https://security.snyk.io/vuln/SNYK-PHP-LIVEWIRELIVEWIRE-6446222"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/21xxx/CVE-2024-21504.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21504"},{"type":"FIX","url":"https://github.com/livewire/livewire/commit/c65b3f0798ab2c9338213ede3588c3cdf4e6fcc0"},{"type":"FIX","url":"https://github.com/livewire/livewire/pull/8117"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-15T01:49:17.148691034Z"}}