Code Injection in utils-extend package for NPM

Published: 2020-05-20 | Updated: 2020-05-20
Risk Medium
Patch available NO
Number of vulnerabilities 1
Exploitation vector Network
Public exploit N/A
Vulnerable software
Web applications / Modules and components for CMS

Vendor douzi8

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Code Injection

EUVDB-ID: #VU28104

Risk: Medium

CVSSv3.1: 9 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:U/RC:C]


CWE-ID: CWE-94 - Improper Control of Generation of Code ('Code Injection')

Exploit availability: No


The disclosed vulnerability allows a remote attacker to execute arbitrary JavaScript code.

The vulnerability exists due to insufficient sanitization of user-supplied data. The extend function does not restrict the modification of an Object's prototype, which may allow an attacker to add or modify an existing property that will exist on all objects. A remote attacker can inject and execute arbitrary script code.


Cybersecurity Help is currently unaware of any official solution to address this vulnerability.

Vulnerable software versions

utils-extend: 1.0.0 - 1.0.8

CPE2.3 External links

Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.