{"id":"CVE-2024-21504","aliases":["CVE-2024-21504","GHSA-389c-cf87-qmwj"],"related":[],"kind":"vulnerability","state":"published","title":"Cross-site Scripting in livewire/livewire","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Las versiones del paquete livewire/livewire desde 3.3.5 y anteriores a 3.4.9 son vulnerables a Cross-site Scripting (XSS) cuando una página usa [Url] para una propiedad. Un atacante puede inyectar código HTML en el contexto de la sesión del navegador del usuario creando un enlace malicioso y convenciendo al usuario de que haga clic en él.","source":"nvd"}],"published":"2024-03-19T05:00:00.698Z","modified":"2026-06-17T07:09:38.043Z","severity":{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N/E:P","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N/E:P","score":6.1,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"semver","introduced":"3.3.5","fixed":"3.4.9","status":"affected"}],"product":"livewire/livewire","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"3.3.5","fixed":"3.4.9","status":"affected"}],"vendor":"laravel","product":"livewire","cpe":"cpe:2.3:a:laravel:livewire:*:*:*:*:*:wordpress:*:*","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"3.3.5","status":"affected","fixed":"3.4.9"}],"ecosystem":"Packagist","package":"livewire/livewire","purl":"pkg:composer/livewire/livewire","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"3.3.5","lastAffected":"3.4.9"}],"vendor":"laravel","product":"livewire","cpe":"cpe:2.3:a:laravel:livewire:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-PHP-LIVEWIRELIVEWIRE-6446222","tags":["exploit","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/livewire/livewire/releases/tag/v3.4.9","tags":["release-notes","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/livewire/livewire/pull/8117","tags":["issue-tracking","patch","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/livewire/livewire/commit/c65b3f0798ab2c9338213ede3588c3cdf4e6fcc0","tags":["patch","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21504","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/livewire/livewire","tags":["package"],"sources":["ghsa"]}],"credits":["Dan Harrin"],"assigner":"snyk","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2024-08-27T20:52:55.768Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-21504","url":"https://www.cve.org/CVERecord?id=CVE-2024-21504","licence":"CVE Terms of Use","modified":"2024-08-27T20:55:55.163Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-389c-cf87-qmwj","url":"https://github.com/advisories/GHSA-389c-cf87-qmwj","licence":"CC-BY-4.0","modified":"2024-03-20T15:41:56.469Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-21504","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21504","licence":"Public domain","modified":"2026-06-17T07:09:38.043Z"}],"updatedAt":"2026-11-25T22:58:37.695Z","epss":{"score":0.00516,"percentile":0.45433,"date":"2026-12-01T12:00:22.000Z"}}