Data Leakage Vulnerability in livewire/livewire
Published 15 May 2024 · Updated 29 Nov 2024
Affected package
- Affected
- >=2.2.5 <2.2.6
- Fixed in
- 2.2.6
composer require livewire/livewire:^2.2.6Details
livewire/livewire versions greater than 2.2.4 and less than 2.2.6 are affected by a data leakage vulnerability. The $this->validate() method, which is expected to return only the validated dataset, was returning all properties of the Livewire component. This regression introduced a security risk, allowing unvalidated data to be exposed, which could lead to unexpected behavior and potential security issues.
Is GHSA-qwvp-268g-jjm8 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected livewire/livewire, and gives you the command that fixes it.
References
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.