{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-21504","id":"CVE-2024-21504","title":"Cross-site Scripting in livewire/livewire","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.","descriptionLong":"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.","published":"2024-03-19T05:00:00.698Z","updated":"2026-10-28T02:30:22.278767611Z","reserved":"2023-12-22T12:33:20.119Z","status":"Analyzed","rejected":false,"assigner":"snyk","metric":{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N/E:P","rating":"medium","source":"snyk"},"metrics":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N/E:P","rating":"medium","source":"snyk"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"snyk.io"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N/E:P","rating":"medium","source":"OSV"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["livewire/livewire"],"affectedProducts":[{"vendor":"n/a","product":"livewire/livewire","defaultStatus":null,"versions":[{"version":"3.3.5","lessThan":"3.4.9","status":"affected","versionType":"semver"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"livewire/livewire","purl":"pkg:composer/livewire/livewire","ranges":[">=3.3.5 <3.4.9"],"fixed":["3.4.9"],"advisory":"GHSA-389c-cf87-qmwj"}],"cwes":["CWE-79"],"aliases":["GHSA-389c-cf87-qmwj"],"references":[{"url":"https://security.snyk.io/vuln/SNYK-PHP-LIVEWIRELIVEWIRE-6446222","tags":["x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://github.com/livewire/livewire/releases/tag/v3.4.9","tags":["x_transferred","Release Notes","web"]},{"url":"https://github.com/livewire/livewire/pull/8117","tags":["x_transferred","Issue Tracking","Patch","fix","web"]},{"url":"https://github.com/livewire/livewire/commit/c65b3f0798ab2c9338213ede3588c3cdf4e6fcc0","tags":["x_transferred","Patch","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/21xxx/CVE-2024-21504.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21504","tags":["advisory"]},{"url":"https://github.com/livewire/livewire","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00516,"epssPercentile":0.44707,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-21504","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21504","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-21504","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-389c-cf87-qmwj","ok":true,"note":"GHSA-389c-cf87-qmwj"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-21504","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}