CVE-2026-81887: Livewire DOM-based cross-site scripting during client-side state handling
Impact In Livewire v3 (≤ 3.8.2) and v4 (≤ 4.3.3), a vulnerability allows unauthenticated attackers to execute arbitrary JavaScript in the origin of an affected application in specific scenarios. The issue stems from how certain client-side component state is handled. This vulnerability does not affect prior major versions.
Published Sep 2, 2026
Affected packages
livewire/livewire
- Ecosystem
- Composer (PHP)
- Affected
- >= 3.0.0-beta.1, <= 3.8.2
- Fixed in
- 3.8.3
- Check
composer show livewire/livewire
livewire/livewire
- Ecosystem
- Composer (PHP)
- Affected
- >= 4.0.0-beta.1, <= 4.3.3
- Fixed in
- 4.3.4
- Check
composer show livewire/livewire
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Impact
In Livewire v3 (≤ 3.8.2) and v4 (≤ 4.3.3), a vulnerability allows unauthenticated attackers to execute arbitrary JavaScript in the origin of an affected application in specific scenarios. The issue stems from how certain client-side component state is handled. This vulnerability does not affect prior major versions. Exploitation requires user interaction, but does not require authentication or prior access to the application. The issue does not bypass server-side authorisation and grants an attacker no privileges beyond those the affected user already holds.
Patches
This issue has been patched in Livewire v3.8.3 and v4.3.4. All users are strongly encouraged to upgrade to these versions or later as soon as possible.
Workarounds
There is no known workaround at this time. Users are strongly advised to upgrade to a patched version immediately.
Credited to Vagebondcur, MelvinTh17.
References
- https://github.com/livewire/livewire/security/advisories/GHSA-g3hc-697w-wm82
- https://nvd.nist.gov/vuln/detail/CVE-2026-81887
- https://github.com/livewire/livewire/pull/10467
- https://github.com/livewire/livewire/commit/11ebe646f7e81dde2d714815da8b3019d058561e
- https://github.com/livewire/livewire/releases/tag/v3.8.3
- https://github.com/livewire/livewire/releases/tag/v4.3.4
- https://github.com/advisories/GHSA-g3hc-697w-wm82
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Composer (PHP) vulnerabilities
All Composer (PHP) entriesGHSA-mhf7-xp6r-6qrc
Livewire: Authorization bypass in #[Authorize] via reordered parameter keys and #[Json] execution order
medium6.5Oct 23, 2026CVE-2025-54068
Livewire is vulnerable to remote command execution during component property update hydration
critical9.8ExploitedJul 17, 2025CVE-2024-47823
Livewire Remote Code Execution on File Uploads
high7.5Oct 8, 2024GHSA-qwvp-268g-jjm8
Data Leakage Vulnerability in livewire/livewire
mediumMay 15, 2024CVE-2024-21504
Cross-site Scripting in livewire/livewire
medium6.1Mar 19, 2024
