Livewire DOM-based cross-site scripting during client-side state handling
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Active
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- None · None · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-79.
Summary
Livewire is a full-stack framework for Laravel. From 3.0.0-beta.1 until 3.8.3 and 4.3.4, the dot-notated query-string parser in js/plugins/history/index.js, including fromQueryString() and insertDotNotatedValueIntoData(), accepts the __proto__, constructor, and prototype path segments and creates inherited objects. Client-side state handlers then access effects.html, effects.js, effects.xjs, and effects.scripts without Object.prototype.hasOwnProperty.call(), allowing inherited attacker-controlled state to be treated as trusted effects. An unauthenticated attacker can craft a URL that, when opened by a user, executes arbitrary JavaScript in the affected application's origin. Exploitation requires user interaction and does not bypass server-side authorization or grant privileges beyond the affected user. This issue is fixed in versions 3.8.3 and 4.3.4.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| livewire | livewire | 3.0.0-beta.1 to before 3.8.3; 4.0.0-beta.1 to before 4.3.4 | 3.8.3, 4.3.4 | Patch available | CNA |
| — | livewire/livewire (Packagist) | 3.0.0-beta.1 to before 3.8.3 | 3.8.3 | Patch available | GHSA-g3hc-697w-wm82 |
| — | livewire/livewire (Packagist) | 4.0.0-beta.1 to before 4.3.4 | 4.3.4 | Patch available | GHSA-g3hc-697w-wm82 |
- livewire Vendorlivewire Affected 3.0.0-beta.1 to before 3.8.3; 4.0.0-beta.1 to before 4.3.4 Fixed in 3.8.3, 4.3.4 Patch available CNA
- livewire/livewire (Packagist) Vendor— Affected 3.0.0-beta.1 to before 3.8.3 Fixed in 3.8.3 Patch available GHSA-g3hc-697w-wm82
- livewire/livewire (Packagist) Vendor— Affected 4.0.0-beta.1 to before 4.3.4 Fixed in 4.3.4 Patch available GHSA-g3hc-697w-wm82
Remediation
- Fix · CNA livewire (livewire) Fixed in 3.8.3, 4.3.4
- Fix · GHSA-g3hc-697w-wm82 livewire/livewire (Packagist) Fixed in 3.8.3 Advisory →
- Fix · GHSA-g3hc-697w-wm82 livewire/livewire (Packagist) Fixed in 4.3.4 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-81887
- 2026-10-03 Alias added: GHSA-g3hc-697w-wm82
References
Other 6
- https://github.com/livewire/livewire/security/advisories/GHSA-g3hc-697w-wm82
- 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/livewire/livewire
More livewire vulnerabilities
- TI-2025-20349 Volt Allows RCE Via User-Crafted Requests CVSS 4.0CRITICAL 9.3
Sources
- CVE-2026-81887 · CVE Program
- CVE-2026-81887 · NVD
- FIRST EPSS
- GHSA-g3hc-697w-wm82 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences