Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. livewire/livewire
  4. ›
  5. CVE-2026-81887

CVE-2026-81887: Livewire DOM-based cross-site scripting during client-side state handling

September 2, 2026

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.

References

  • github.com/advisories/GHSA-g3hc-697w-wm82
  • github.com/livewire/livewire/commit/11ebe646f7e81dde2d714815da8b3019d058561e
  • github.com/livewire/livewire/pull/10467
  • github.com/livewire/livewire/releases/tag/v3.8.3
  • github.com/livewire/livewire/releases/tag/v4.3.4
  • github.com/livewire/livewire/security/advisories/GHSA-g3hc-697w-wm82
  • nvd.nist.gov/vuln/detail/CVE-2026-81887

Code Behaviors & Features

Detect and mitigate CVE-2026-81887 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 3.0.0-beta.1 before 3.8.3, all versions starting from 4.0.0-beta.1 before 4.3.4

Fixed versions

  • 3.8.3
  • 4.3.4

Solution

Upgrade to versions 3.8.3, 4.3.4 or above.

Impact 5.4 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

packagist/livewire/livewire/CVE-2026-81887.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 05 Sep 2026 12:16:30 +0000.