{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2024-21504","published":"2024-03-19T05:15:09.813000Z","last_modified":"2026-06-17T07:09:38.043000Z","status":"Analyzed","cvss":{"version":"3.1","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","source":"report@snyk.io","primary":false},"auth":false,"cwes":["CWE-79"],"cpes":[{"criteria":"cpe:2.3:a:laravel:livewire:*:*:*:*:*:*:*:*","part":"a","vendor":"laravel","product":"livewire","version_start_including":"3.3.5","version_end_including":"3.4.9"}],"cpes_truncated":false,"vendors":["laravel"],"products":["laravel/livewire"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial"},"epss":{"score":0.00661,"percentile":0.46514,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-389c-cf87-qmwj","ecosystem":"Packagist","name":"livewire/livewire","purl":"pkg:composer/livewire/livewire","ranges":[{"introduced":"3.3.5","fixed":"3.4.9"}],"versions":["v3.3.5","v3.4.0","v3.4.1","v3.4.2","v3.4.3","v3.4.4","v3.4.5","v3.4.6","v3.4.7","v3.4.8"],"versions_truncated":false}],"severity":"medium","priority_score":52,"links":{"html_es":"/es/cve/CVE-2024-21504/","html_en":"/en/cve/CVE-2024-21504/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-21504","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-21504"},"untrusted":{"vendor_name":"Laravel","product_name":"Livewire","desc_en":"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":[{"untrusted_vendor":"laravel","untrusted_product":"livewire","versions":[]}],"references":[{"url":"https://github.com/livewire/livewire/commit/c65b3f0798ab2c9338213ede3588c3cdf4e6fcc0","tags":["Patch"]},{"url":"https://github.com/livewire/livewire/pull/8117","tags":["Issue Tracking","Patch"]},{"url":"https://github.com/livewire/livewire/releases/tag/v3.4.9","tags":["Release Notes"]},{"url":"https://security.snyk.io/vuln/SNYK-PHP-LIVEWIRELIVEWIRE-6446222","tags":["Exploit","Third Party Advisory"]}]}}