Description
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.
Published: 2026-08-31
Score: 5.1 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Livewire’s dot‑notated query‑string parser in js/plugins/history/index.js has a flaw that allows attacker‑controlled path segments such as __proto__, constructor, and prototype to create inherited properties. When client‑side state handlers, which access effect.* properties, read these properties without verifying ownership, the prototype chain can inject malicious JavaScript code. An unauthenticated attacker can craft a URL that, when a user visits it, causes the browser to execute arbitrary JavaScript in the context of the affected application. This attack affects confidentiality, integrity, and availability by allowing the attacker to run scripts that can steal session data or manipulate the page.

Affected Systems

Any Laravel application using the Livewire framework below version 3.8.3 or 4.3.4 is vulnerable. The affected packages include Livewire 3.x from 3.0.0‑beta.1 up to 3.8.2 and Livewire 4.x from 4.0.0 up to 4.3.3. Those editions expose the vulnerable history module; applications that have upgraded to v3.8.3 or v4.3.4 contain the fix.

Risk and Exploitability

The CVSS score of 5.1 indicates a moderate risk, and the EPSS score is not available. The vulnerability is not in the KEV catalog. Exploitation requires that the user opens a crafted URL, so it is user‑dependent, but once achieved an attacker gains the same privileges as the user and can execute arbitrary JavaScript within the site’s origin. The best mitigation is to install the patched Livewire release promptly, and, while updating, consider additional defenses such as input sanitization and a strong Content‑Security‑Policy.

Generated by OpenCVE AI on August 31, 2026 at 21:45 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Livewire to version 3.8.3 or newer, or to 4.3.4 or newer.
  • Review custom query‑string handling in the application and sanitize or strip unexpected path segments, ensuring that prototype inheritance cannot be abused.
  • Deploy a Content‑Security‑Policy that disallows inline and eval scripts and restricts script sources to trusted origins, to mitigate any remaining XSS vectors.

Generated by OpenCVE AI on August 31, 2026 at 21:45 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 31 Aug 2026 20:30:00 +0000

Type Values Removed Values Added
Description 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.
Title Livewire DOM-based cross-site scripting during client-side state handling
Weaknesses CWE-1321
CWE-79
References
Metrics cvssV4_0

{'score': 5.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-31T20:12:15.932Z

Reserved: 2026-08-27T17:48:42.123Z

Link: CVE-2026-81887

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-31T21:17:52.157

Modified: 2026-08-31T21:17:52.157

Link: CVE-2026-81887

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-31T22:00:06Z

Weaknesses
  • CWE-1321

    Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')