VDB
Sign up
MEDIUM5.3

GHSA-jx5q-g37m-h5hj

Client-Side JavaScript Prototype Pollution in oro/platform

Quick fix

GHSA-jx5q-g37m-h5hj — oro/platform: upgrade to the fixed version with the command below.

composer require oro/platform:^4.1.14

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`

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/oro/platform
Introduced in: 4.1.0Fixed in: 4.1.14
Fixcomposer require oro/platform:^4.1.14
Packagist/oro/platform
Introduced in: 4.2.0Fixed in: 4.2.8
Fixcomposer require oro/platform:^4.2.8

References