# CVE-2024-21504: Cross-site Scripting in livewire/livewire

- Severity: Medium 6.1 (CVSS:3.1, scored by snyk) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N/E:P`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.52%, higher than 45% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-03-19T05:00:00.698Z
- Modified: 2026-06-17T07:09:38.043Z
- Also known as: GHSA-389c-cf87-qmwj
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: snyk

## 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.

(As written by CVE List.)

## Affected

- livewire/livewire: from 3.3.5 before 3.4.9
- laravel livewire: from 3.3.5 before 3.4.9; from 3.3.5 up to 3.4.9
- livewire/livewire (Packagist): from 3.3.5 before 3.4.9

## Every score

- snyk: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N/E:P`
- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://security.snyk.io/vuln/SNYK-PHP-LIVEWIRELIVEWIRE-6446222> (exploit, third-party-advisory, web)
- <https://github.com/livewire/livewire/releases/tag/v3.4.9> (release-notes, web)
- <https://github.com/livewire/livewire/pull/8117> (issue-tracking, patch, web)
- <https://github.com/livewire/livewire/commit/c65b3f0798ab2c9338213ede3588c3cdf4e6fcc0> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-21504> (advisory)
- <https://github.com/livewire/livewire> (package)

## Sources

- CVE List: [CVE-2024-21504](https://www.cve.org/CVERecord?id=CVE-2024-21504), CVE Terms of Use, modified 2024-08-27
- GitHub Advisory Database: [GHSA-389c-cf87-qmwj](https://github.com/advisories/GHSA-389c-cf87-qmwj), CC-BY-4.0, modified 2024-03-20
- NVD: [CVE-2024-21504](https://nvd.nist.gov/vuln/detail/CVE-2024-21504), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-21504 · Whole record: https://cve.day/CVE-2024-21504.json · Rebuilt by cve.day 2026-11-25T22:58:37.695Z
