Cross-site Scripting in livewire/livewire
Date: 2024-03
Affected: composer/livewire/livewire
Attack vector: xss
Category: vulnerability-disclosure
Severity: Medium
CVE: CVE-2024-21504
CWE: CWE-79
CVSS: 6.1 (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N)

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.


Mitigations:

Architectural layers (MAESTRO):