{"id":"GHSA-389c-cf87-qmwj","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.","aliases":["CVE-2024-21504"],"modified":"2024-03-20T15:41:56.469581Z","published":"2024-03-19T06:30:53Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2024-03-20T15:25:06Z","nvd_published_at":"2024-03-19T05:15:09Z","cwe_ids":["CWE-79"],"severity":"MODERATE"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21504"},{"type":"WEB","url":"https://github.com/livewire/livewire/pull/8117"},{"type":"WEB","url":"https://github.com/livewire/livewire/commit/c65b3f0798ab2c9338213ede3588c3cdf4e6fcc0"},{"type":"PACKAGE","url":"https://github.com/livewire/livewire"},{"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"}],"affected":[{"package":{"name":"livewire/livewire","ecosystem":"Packagist","purl":"pkg:composer/livewire/livewire"},"ranges":[{"type":"ECOSYSTEM","events":[{"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"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/03/GHSA-389c-cf87-qmwj/GHSA-389c-cf87-qmwj.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}