{"id":"CVE-2024-21504","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.","aliases":["GHSA-389c-cf87-qmwj"],"modified":"2026-05-28T03:53:48.967634126Z","published":"2024-03-19T05:00:00.698Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/21xxx/CVE-2024-21504.json","cna_assigner":"snyk","cwe_ids":["CWE-79"]},"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/livewire/livewire","events":[{"introduced":"1ef880fbcdc7b6e5e405cc9135a62cd5fdbcd06a"},{"fixed":"c65b3f0798ab2c9338213ede3588c3cdf4e6fcc0"}]}],"versions":["v3.4.8","v3.4.7","v3.4.6","v3.4.5","v3.4.4","v3.4.3","v3.4.2","v3.4.1","v3.4.0","v3.3.5"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-21504.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N/E:P"}]}