Client-Side JavaScript Prototype Pollution in oro/platform
Package
Affected versions
>= 4.1.0, < 4.1.14
>= 4.2.0, < 4.2.8
Patched versions
4.1.14
4.2.8
Description
Published by the National Vulnerability Database
Jan 4, 2022
Reviewed
Jan 4, 2022
Published to the GitHub Advisory Database
Jan 6, 2022
Last updated
Feb 3, 2023
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
References