Client-Side JavaScript Prototype Pollution in oro/platform
Impact
By sending a specially crafted request, an attacker could inject properties into existing JavaScript language construct prototypes, such as objects. Later this injection may lead to JS code execution by libraries that are vulnerable to Prototype Pollution.
Source excerpt · OSVAffected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
| Affected range | Recorded fix |
|---|---|
| From 4.1.0 before 4.1.14Ecosystem versions | 4.1.14 |
| From 4.2.0 before 4.2.8Ecosystem versions | 4.2.8 |
Version evidence: OSV · GHSA-jx5q-g37m-h5hj
View original version evidence (24 explicit versions)
Original source description
Summary
By sending a specially crafted request, an attacker could inject properties into existing JavaScript language construct prototypes, such as objects. Later this injection may lead to JS code execution by libraries that are vulnerable to Prototype Pollution.
Workarounds
Configure WAF to drop requests containing next strings: __proto__ , constructor[prototype], constructor.prototype