GitHub Advisory Database
GHSA-jx5q-g37m-h5hj
Client-Side JavaScript Prototype Pollution in oro/platform
Details
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
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | oro/platform | From 4.1.0 before 4.1.14 (fixed in 4.1.14) |
| Packagist | oro/platform | From 4.2.0 before 4.2.8 (fixed in 4.2.8) |