{"id":"GHSA-389c-cf87-qmwj","aliases":["CVE-2024-21504"],"title":"Cross-site Scripting in livewire/livewire","titleSource":"OSV","descriptionSource":"OSV","declaredSeverity":"MODERATE","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.","severity":"medium","score":6.1,"published":"2024-03-19T06:30:53.000Z","modified":"2024-03-20T15:41:56.469Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"livewire/livewire","sources":[{"name":"OSV · GHSA-389c-cf87-qmwj","url":"https://osv.dev/vulnerability/GHSA-389c-cf87-qmwj"}],"ranges":[{"events":[{"introduced":"3.3.5"},{"fixed":"3.4.9"}],"type":"ECOSYSTEM"}],"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"],"fixed":["3.4.9"]}],"sourceAffected":[],"references":["https://nvd.nist.gov/vuln/detail/CVE-2024-21504","https://github.com/livewire/livewire/pull/8117","https://github.com/livewire/livewire/commit/c65b3f0798ab2c9338213ede3588c3cdf4e6fcc0","https://github.com/livewire/livewire","https://github.com/livewire/livewire/releases/tag/v3.4.9","https://security.snyk.io/vuln/SNYK-PHP-LIVEWIRELIVEWIRE-6446222"],"sources":[{"name":"OSV","id":"GHSA-389c-cf87-qmwj","modified":"2024-03-20T15:41:56.469581Z","url":"https://osv.dev/vulnerability/GHSA-389c-cf87-qmwj"}],"assessments":[{"source":"OSV","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1}],"products":[],"remediation":[],"kev":{"status":"not-listed","checkedAt":"2026-10-29T01:45:31.656Z"},"coverage":[{"source":"NVD","status":"not-checked"},{"source":"GHSA","status":"not-checked"},{"source":"EUVD","status":"not-checked"},{"source":"EPSS","status":"not-checked"}],"evidence":[]}