CVE-2021-23337
published 2026-03-31CVE-2021-23337: Impact: The fix for CVE-2021-23337 (https://github.com/advisories/GHSA-35jh-r3h4-6jhm) added validation for the variable option in _.template but did not apply…
PriorityP263high7.2CVSS 3.1
AVNACLPRHUINSUCHIHAH
EXPLOIT
EPSS
22.41%
97.4th percentile
Impact:
The fix for CVE-2021-23337 (https://github.com/advisories/GHSA-35jh-r3h4-6jhm) added validation for the variable option in _.template but did not apply the same validation to options.imports key names. Both paths flow into the same Function() constructor sink.
When an application passes untrusted input as options.imports key names, an attacker can inject default-parameter expressions that execute arbitrary code at template compilation time.
Additionally, _.template uses assignInWith to merge imports, which enumerates inherited properties via for..in. If Object.prototype has been polluted by any other vector, the polluted keys are copied into the imports object and passed to Function().
Patches:
Users should upgrade to version 4.18.0.
Workarounds:
Do not pass untrusted input as key names in options.imports. Only use developer-controlled, static key names.
Affected
60 ranges· showing 25
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | node-lodash | < node-lodash 4.17.21+dfsg+~cs8.31.173-1 (bookworm) | node-lodash 4.17.21+dfsg+~cs8.31.173-1 (bookworm) |
| debian | node-lodash | < node-lodash 4.18.1+dfsg-1 (forky) | node-lodash 4.18.1+dfsg-1 (forky) |
| lodash | lodash | < 4.17.21 | 4.17.21 |
| lodash | lodash | >= 0 < 4.17.21 | 4.17.21 |
| lodash | lodash | >= 4.0.0 < 4.18.0 | 4.18.0 |
| lodash | lodash | >= 4.0.0 < 4.18.0 | 4.18.0 |
| lodash | lodash | >= 4.0.0 < 4.18.0 | 4.18.0 |
| lodash | lodash-amd | >= 4.0.0 < 4.18.0 | 4.18.0 |
| lodash | lodash-amd | >= 4.0.0 < 4.18.0 | 4.18.0 |
| lodash | lodash-es | >= 0 < 4.17.21 | 4.17.21 |
| lodash | lodash-es | >= 4.0.0 < 4.18.0 | 4.18.0 |
| lodash | lodash-es | >= 4.0.0 < 4.18.0 | 4.18.0 |
| lodash | lodash-es | >= 4.0.0 < 4.18.0 | 4.18.0 |
| lodash | lodash.template | 0 – 4.5.0 | — |
| lodash | lodash.template | >= 4.0.0 < 4.18.0 | 4.18.0 |
| lodash | lodash.template | >= 4.0.0 < 4.18.0 | 4.18.0 |
| lodash | lodash.template | >= 4.0.0 < 4.18.0 | 4.18.0 |
| netapp | system_manager | — | — |
| oracle | banking_corporate_lending_process_management | — | — |
| oracle | banking_corporate_lending_process_management | — | — |
| oracle | banking_corporate_lending_process_management | — | — |
| oracle | banking_credit_facilities_process_management | — | — |
| oracle | banking_credit_facilities_process_management | — | — |
| oracle | banking_credit_facilities_process_management | — | — |
| oracle | banking_extensibility_workbench | — | — |
Detection & IOCsextracted from sources · hover to see the quote
urlhttps://github.com/lodash/lodash/commit/3469357cff396a26c363f8c1b5a91dde28ba4b1c
commandPOST /template HTTP/1.1
Content-Type: application/json
{"template":"","variable":") { return String({{randA}}*{{randB}}) }; with(obj","data":{"name":"test"}}
commandGET /render?tpl=hello&variable=)%7Breturn+String({{randA}}*{{randB}})%7D%3Bwith(obj HTTP/1.1
path/template
path/render
- →Exploit payload injects a closing brace and return statement into the `variable` option of _.template, breaking out of the generated function wrapper and executing arbitrary JS at compile time. Look for `variable` parameter values containing `) {` or `}; with(obj` patterns in HTTP request bodies or query strings.
- →URL-encoded variant of the same injection targets the `variable` query parameter: look for `variable=)%7B` or `%7D%3Bwith(obj` in GET requests to template-rendering endpoints.
- →The vulnerability also applies to untrusted `options.imports` key names passed to _.template; both paths flow into the same Function() constructor sink. Monitor for dynamic/untrusted key names in imports objects. ↗
- →Prototype pollution can amplify this CVE: _.template uses assignInWith to merge imports via for..in, so polluted Object.prototype keys are copied into the imports object and passed to Function(). Detect concurrent prototype pollution attempts alongside lodash template calls. ↗
- →Use Shodan/FOFA fingerprinting queries to identify exposed lodash-powered endpoints as attack surface: shodan `http.component:"lodash"`, FOFA `body="lodash"`.
- →The Nuclei template targets POST /template with Content-Type: application/json and GET /render with a `variable` query parameter. Alert on requests to these paths where the `variable` field contains JS syntax characters such as `)`, `{`, `}`, `return`, or `with(`.
- ·The fix for CVE-2021-23337 validated the `variable` option but NOT `options.imports` key names; both reach the same Function() sink. Patching to 4.17.21 addresses the `variable` vector but the imports key-name vector requires the additional fix in 4.18.0. ↗
- ·Red Hat notes that several affected packages (OpenShift ServiceMesh, RHOSJ) are behind OpenShift OAuth authentication, reducing exploitability to authenticated users only. ↗
- ·Red Hat Virtualization cockpit-ovirt and Red Hat Quay (via restangular) depend on lodash but do NOT use the vulnerable template function, so they are not exploitable via this CVE. ↗
CVSS provenance
nvdv3.17.2HIGHCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
nvdv2.06.5MEDIUMAV:N/AC:L/Au:S/C:P/I:P/A:P
ghsa7.2HIGH
osv7.2HIGH
vendor_debian7.2HIGH
vendor_oracle7.2HIGH
vendor_redhat7.2HIGH
vendor_ubuntu5.3MEDIUM
CVEs like this are exactly what “Exploited This Week” covers.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
VulDB
Oracle Communications Cloud Native Core Binding Support Function command injection (Nessus ID 304625 / WID-SEC-2026-1654)
vuldb·2026-05-23·CVSS 7.2
CVE-2021-23337 [HIGH] Oracle Communications Cloud Native Core Binding Support Function command injection (Nessus ID 304625 / WID-SEC-2026-1654)
A vulnerability was found in Oracle Communications Cloud Native Core Binding Support Function 1.9.0. It has been classified as critical. This affects an unknown function of the component Binding Support Function. This manipulation causes command injection.
This vulnerability is registered as CVE-2021-23337. Remote exploitation of the attack is possible. No exploit is available.
Upgrading the affected component is recommended.
VulDB
Oracle Banking Corporate Lending Process Management 14.2/14.3/14.5 Lodash command injection (Nessus ID 304625 / WID-SEC-2026-1654)
vuldb·2026-05-23·CVSS 7.2
CVE-2021-23337 [HIGH] Oracle Banking Corporate Lending Process Management 14.2/14.3/14.5 Lodash command injection (Nessus ID 304625 / WID-SEC-2026-1654)
A vulnerability identified as critical has been detected in Oracle Banking Corporate Lending Process Management 14.2/14.3/14.5. This impacts an unknown function of the component Lodash. Performing a manipulation results in command injection.
This vulnerability is cataloged as CVE-2021-23337. It is possible to initiate the attack remotely. There is no exploit available.
You should upgrade the affected component.
VulDB
Oracle Communications Session Border Controller 8.4/9.0 Lodash command injection (Nessus ID 304625 / WID-SEC-2026-1654)
vuldb·2026-05-23·CVSS 7.2
CVE-2021-23337 [HIGH] Oracle Communications Session Border Controller 8.4/9.0 Lodash command injection (Nessus ID 304625 / WID-SEC-2026-1654)
A vulnerability described as critical has been identified in Oracle Communications Session Border Controller 8.4/9.0. Impacted is an unknown function of the component Lodash. The manipulation results in command injection.
This vulnerability was named CVE-2021-23337. The attack may be performed from remote. There is no available exploit.
Upgrading the affected component is recommended.
VulDB
Oracle PeopleSoft Enterprise PeopleTools 8.58/8.59 Elastic Search command injection (Nessus ID 304625 / WID-SEC-2026-1654)
vuldb·2026-05-23·CVSS 7.2
CVE-2021-23337 [HIGH] Oracle PeopleSoft Enterprise PeopleTools 8.58/8.59 Elastic Search command injection (Nessus ID 304625 / WID-SEC-2026-1654)
A vulnerability, which was classified as critical, was found in Oracle PeopleSoft Enterprise PeopleTools 8.58/8.59. Impacted is an unknown function of the component Elastic Search. The manipulation results in command injection.
This vulnerability is known as CVE-2021-23337. It is possible to launch the attack remotely. No exploit is available.
You should upgrade the affected component.
VulDB
lodash up to 4.17.20 Template command injection (SNYK-JS-LODASH-1040724 / Nessus ID 304625)
vuldb·2026-05-23·CVSS 7.2
CVE-2021-23337 [HIGH] lodash up to 4.17.20 Template command injection (SNYK-JS-LODASH-1040724 / Nessus ID 304625)
A vulnerability was found in lodash up to 4.17.20 and classified as critical. Affected by this vulnerability is an unknown functionality of the component Template Handler. The manipulation results in command injection.
This vulnerability is known as CVE-2021-23337. It is possible to launch the attack remotely. No exploit is available.
It is suggested to upgrade the affected component.
VulDB
Oracle Communications Cloud Native Core Policy 1.11.0 Lodash command injection (Nessus ID 304625 / WID-SEC-2026-1654)
vuldb·2026-05-23·CVSS 7.2
CVE-2021-23337 [HIGH] Oracle Communications Cloud Native Core Policy 1.11.0 Lodash command injection (Nessus ID 304625 / WID-SEC-2026-1654)
A vulnerability marked as critical has been reported in Oracle Communications Cloud Native Core Policy 1.11.0. This issue affects some unknown processing of the component Lodash. The manipulation leads to command injection.
This vulnerability is uniquely identified as CVE-2021-23337. The attack is possible to be carried out remotely. No exploit exists.
It is suggested to upgrade the affected component.
VulDB
Oracle Retail Customer Management and Segmentation Foundation Security command injection (Nessus ID 304625 / WID-SEC-2026-1654)
vuldb·2026-05-23·CVSS 7.2
CVE-2021-23337 [HIGH] Oracle Retail Customer Management and Segmentation Foundation Security command injection (Nessus ID 304625 / WID-SEC-2026-1654)
A vulnerability was found in Oracle Retail Customer Management and Segmentation Foundation 19.0 and classified as critical. This affects an unknown part of the component Security. The manipulation results in command injection.
This vulnerability is known as CVE-2021-23337. It is possible to launch the attack remotely. No exploit is available.
It is suggested to upgrade the affected component.
VulDB
Oracle Communications Services Gatekeeper 7.0 Policy service command injection (Nessus ID 304625 / WID-SEC-2026-1654)
vuldb·2026-05-23·CVSS 7.2
CVE-2021-23337 [HIGH] Oracle Communications Services Gatekeeper 7.0 Policy service command injection (Nessus ID 304625 / WID-SEC-2026-1654)
A vulnerability was found in Oracle Communications Services Gatekeeper 7.0. It has been rated as critical. Affected is an unknown function of the component Policy service. Performing a manipulation results in command injection.
This vulnerability is reported as CVE-2021-23337. The attack is possible to be carried out remotely. No exploit exists.
Upgrading the affected component is advised.
VulDB
Oracle Primavera Unifier up to 20.12 Lodash command injection (Nessus ID 304625 / WID-SEC-2026-1654)
vuldb·2026-05-23·CVSS 7.2
CVE-2021-23337 [HIGH] Oracle Primavera Unifier up to 20.12 Lodash command injection (Nessus ID 304625 / WID-SEC-2026-1654)
A vulnerability was found in Oracle Primavera Unifier up to 20.12. It has been declared as critical. Impacted is an unknown function of the component Lodash. Executing a manipulation can lead to command injection.
This vulnerability is registered as CVE-2021-23337. It is possible to launch the attack remotely. No exploit is available.
It is recommended to upgrade the affected component.
VulDB
Oracle Health Sciences Data Management Workbench 2.5.2.1/3.0.0.0 User Interface code injection (Nessus ID 304625 / WID-SEC-2026-1654)
vuldb·2026-05-23·CVSS 7.2
CVE-2021-23337 [HIGH] Oracle Health Sciences Data Management Workbench 2.5.2.1/3.0.0.0 User Interface code injection (Nessus ID 304625 / WID-SEC-2026-1654)
A vulnerability, which was classified as critical, was found in Oracle Health Sciences Data Management Workbench 2.5.2.1/3.0.0.0. This vulnerability affects unknown code of the component User Interface. Such manipulation leads to code injection.
This vulnerability is documented as CVE-2021-23337. The attack can be executed remotely. There is not any exploit available.
You should upgrade the affected component.
VulDB
Oracle Banking Trade Finance Process Management 14.2/14.3/14.5 Lodash command injection (Nessus ID 304625 / WID-SEC-2026-1654)
vuldb·2026-05-23·CVSS 7.2
CVE-2021-23337 [HIGH] Oracle Banking Trade Finance Process Management 14.2/14.3/14.5 Lodash command injection (Nessus ID 304625 / WID-SEC-2026-1654)
A vulnerability classified as critical has been found in Oracle Banking Trade Finance Process Management 14.2/14.3/14.5. This affects an unknown part of the component Lodash. This manipulation causes command injection.
This vulnerability appears as CVE-2021-23337. The attack may be initiated remotely. There is no available exploit.
It is recommended to upgrade the affected component.
VulDB
Oracle Banking Supply Chain Finance 14.2/14.3/14.5 Lodash command injection (Nessus ID 304625 / WID-SEC-2026-1654)
vuldb·2026-05-23·CVSS 7.2
CVE-2021-23337 [HIGH] Oracle Banking Supply Chain Finance 14.2/14.3/14.5 Lodash command injection (Nessus ID 304625 / WID-SEC-2026-1654)
A vulnerability described as critical has been identified in Oracle Banking Supply Chain Finance 14.2/14.3/14.5. Affected by this issue is some unknown functionality of the component Lodash. The manipulation results in command injection.
This vulnerability is reported as CVE-2021-23337. The attack can be launched remotely. No exploit exists.
Upgrading the affected component is recommended.
VulDB
Oracle Banking Credit Facilities Process Management 14.2/14.3/14.5 Lodash command injection (Nessus ID 304625 / WID-SEC-2026-1654)
vuldb·2026-05-23·CVSS 7.2
CVE-2021-23337 [HIGH] Oracle Banking Credit Facilities Process Management 14.2/14.3/14.5 Lodash command injection (Nessus ID 304625 / WID-SEC-2026-1654)
A vulnerability labeled as critical has been found in Oracle Banking Credit Facilities Process Management 14.2/14.3/14.5. Affected is an unknown function of the component Lodash. Executing a manipulation can lead to command injection.
This vulnerability is registered as CVE-2021-23337. It is possible to launch the attack remotely. No exploit is available.
The affected component should be upgraded.
VulDB
Oracle JD Edwards EnterpriseOne Tools E1 Dev Platform Tech - Cloud command injection (Nessus ID 304625 / WID-SEC-2026-1654)
vuldb·2026-05-23·CVSS 7.2
CVE-2021-23337 [HIGH] Oracle JD Edwards EnterpriseOne Tools E1 Dev Platform Tech - Cloud command injection (Nessus ID 304625 / WID-SEC-2026-1654)
A vulnerability, which was classified as critical, has been found in Oracle JD Edwards EnterpriseOne Tools. This affects an unknown function of the component E1 Dev Platform Tech - Cloud. The manipulation leads to command injection.
This vulnerability is referenced as CVE-2021-23337. Remote exploitation of the attack is possible. No exploit is available.
It is advisable to upgrade the affected component.
VulDB
Oracle Communications Design Studio 7.4.2 Lodash command injection (Nessus ID 304625 / WID-SEC-2026-1654)
vuldb·2026-05-23·CVSS 7.2
CVE-2021-23337 [HIGH] Oracle Communications Design Studio 7.4.2 Lodash command injection (Nessus ID 304625 / WID-SEC-2026-1654)
A vulnerability, which was classified as critical, has been found in Oracle Communications Design Studio 7.4.2. This issue affects some unknown processing of the component Lodash. The manipulation leads to command injection.
This vulnerability is documented as CVE-2021-23337. The attack can be initiated remotely. There is not any exploit available.
It is advisable to upgrade the affected component.
VulDB
Oracle Enterprise Communications Broker 3.2/3.3 Lodash command injection (Nessus ID 304625 / WID-SEC-2026-1654)
vuldb·2026-05-23·CVSS 7.2
CVE-2021-23337 [HIGH] Oracle Enterprise Communications Broker 3.2/3.3 Lodash command injection (Nessus ID 304625 / WID-SEC-2026-1654)
A vulnerability classified as critical has been found in Oracle Enterprise Communications Broker 3.2/3.3. The affected element is an unknown function of the component Lodash. This manipulation causes command injection.
The identification of this vulnerability is CVE-2021-23337. It is possible to initiate the attack remotely. There is no exploit available.
It is recommended to upgrade the affected component.
VulDB
Oracle Banking Extensibility Workbench 14.2/14.3/14.5 Lodash command injection (Nessus ID 304625 / WID-SEC-2026-1654)
vuldb·2026-05-23·CVSS 7.2
CVE-2021-23337 [HIGH] Oracle Banking Extensibility Workbench 14.2/14.3/14.5 Lodash command injection (Nessus ID 304625 / WID-SEC-2026-1654)
A vulnerability marked as critical has been reported in Oracle Banking Extensibility Workbench 14.2/14.3/14.5. Affected by this vulnerability is an unknown functionality of the component Lodash. The manipulation leads to command injection.
This vulnerability is documented as CVE-2021-23337. The attack can be initiated remotely. There is not any exploit available.
It is suggested to upgrade the affected component.
VulDB
Oracle Financial Services Crime and Compliance Management Studio code injection (Nessus ID 304625 / WID-SEC-2026-1654)
vuldb·2026-05-23·CVSS 7.2
CVE-2021-23337 [HIGH] Oracle Financial Services Crime and Compliance Management Studio code injection (Nessus ID 304625 / WID-SEC-2026-1654)
A vulnerability, which was classified as critical, has been found in Oracle Financial Services Crime and Compliance Management Studio 8.0.8.2.0/8.0.8.3.0. This impacts an unknown function of the component Studio. Performing a manipulation results in code injection.
This vulnerability is known as CVE-2021-23337. Remote exploitation of the attack is possible. No exploit is available.
It is advisable to upgrade the affected component.
VulDB
Oracle Primavera Gateway up to 17.12.11/18.8.12/19.12.11/20.12.7 Lodash command injection (Nessus ID 304625 / WID-SEC-2026-1654)
vuldb·2026-05-23·CVSS 7.2
CVE-2021-23337 [HIGH] Oracle Primavera Gateway up to 17.12.11/18.8.12/19.12.11/20.12.7 Lodash command injection (Nessus ID 304625 / WID-SEC-2026-1654)
A vulnerability was found in Oracle Primavera Gateway up to 17.12.11/18.8.12/19.12.11/20.12.7. It has been classified as critical. This issue affects some unknown processing of the component Lodash. Performing a manipulation results in command injection.
This vulnerability is cataloged as CVE-2021-23337. It is possible to initiate the attack remotely. There is no exploit available.
Upgrading the affected component is recommended.
GHSA
lodash vulnerable to Code Injection via `_.template` imports key names
ghsa·2026-04-01·CVSS 7.2
CVE-2026-4800 [HIGH] CWE-94 lodash vulnerable to Code Injection via `_.template` imports key names
lodash vulnerable to Code Injection via `_.template` imports key names
### Impact
The fix for [CVE-2021-23337](https://github.com/advisories/GHSA-35jh-r3h4-6jhm) added validation for the `variable` option in `_.template` but did not apply the same validation to `options.imports` key names. Both paths flow into the same `Function()` constructor sink.
When an application passes untrusted input as `options.imports` key names, an attacker can inject default-parameter expressions that execute arbitrary code at template compilation time.
Additionally, `_.template` uses `assignInWith` to merge imports, which enumerates inherited properties via `for..in`. If `Object.prototype` has been polluted by any other vector, the polluted keys are copied into the imports object and passed to `Function()`
OSV
lodash vulnerable to Code Injection via `_.template` imports key names
osv·2026-04-01·CVSS 7.2
CVE-2026-4800 [HIGH] lodash vulnerable to Code Injection via `_.template` imports key names
lodash vulnerable to Code Injection via `_.template` imports key names
### Impact
The fix for [CVE-2021-23337](https://github.com/advisories/GHSA-35jh-r3h4-6jhm) added validation for the `variable` option in `_.template` but did not apply the same validation to `options.imports` key names. Both paths flow into the same `Function()` constructor sink.
When an application passes untrusted input as `options.imports` key names, an attacker can inject default-parameter expressions that execute arbitrary code at template compilation time.
Additionally, `_.template` uses `assignInWith` to merge imports, which enumerates inherited properties via `for..in`. If `Object.prototype` has been polluted by any other vector, the polluted keys are copied into the imports object and passed to `Function()`
OSV
CVE-2026-4800: Impact: The fix for CVE-2021-23337 (https://github
osv·2026-03-31·CVSS 7.2
CVE-2026-4800 [HIGH] CVE-2026-4800: Impact: The fix for CVE-2021-23337 (https://github
Impact: The fix for CVE-2021-23337 (https://github.com/advisories/GHSA-35jh-r3h4-6jhm) added validation for the variable option in _.template but did not apply the same validation to options.imports key names. Both paths flow into the same Function() constructor sink. When an application passes untrusted input as options.imports key names, an attacker can inject default-parameter expressions that execute arbitrary code at template compilation time. Additionally, _.template uses assignInWith to merge imports, which enumerates inherited properties via for..in. If Object.prototype has been polluted by any other vector, the polluted keys are copied into the imports object and passed to Function(). Patches: Users should upgrade to version 4.18.0. Workarounds: Do not pass untrusted input as key
GHSA
Withdrawn: Arbitrary code execution in lodash
ghsa_unreviewed·2021-12-03·CVSS 7.2
CVE-2021-41720 [HIGH] CWE-77 Withdrawn: Arbitrary code execution in lodash
Withdrawn: Arbitrary code execution in lodash
# Withdrawn
GitHub has chosen to publish this CVE as a withdrawn advisory due to it not being a security issue. See [this issue](https://github.com/lodash/lodash/issues/5261) for more details.
# CVE description
"** DISPUTED ** A command injection vulnerability in Lodash 4.17.21 allows attackers to achieve arbitrary code execution via the template function. This is a different parameter, method, and version than CVE-2021-23337. NOTE: the vendor's position is that it's the developer's responsibility to ensure that a template does not evaluate code that originates from untrusted input.
OSV
Command Injection in lodash
osv·2021-05-06
CVE-2021-23337 [HIGH] Command Injection in lodash
Command Injection in lodash
`lodash` versions prior to 4.17.21 are vulnerable to Command Injection via the template function.
GHSA
Command Injection in lodash
ghsa·2021-05-06
CVE-2021-23337 [HIGH] CWE-77 Command Injection in lodash
Command Injection in lodash
`lodash` versions prior to 4.17.21 are vulnerable to Command Injection via the template function.
OSV
CVE-2021-23337: Lodash versions prior to 4
osv·2021-02-15·CVSS 7.2
CVE-2021-23337 [HIGH] CVE-2021-23337: Lodash versions prior to 4
Lodash versions prior to 4.17.21 are vulnerable to Command Injection via the template function.
Ubuntu
Lodash vulnerabilities
vendor_ubuntu·2026-06-09·CVSS 5.3
CVE-2025-13465 [MEDIUM] Lodash vulnerabilities
Title: Lodash vulnerabilities
Summary: Several security issues were fixed in Lodash.
It was discovered that Lodash was vulnerable to a prototype pollution
issue in the zipObjectDeep function. An attacker could possibly use this
issue to modify application behavior. This issue only affected Ubuntu
18.04 LTS and Ubuntu 20.04 LTS. (CVE-2020-8203)
Liyuan Chen discovered that Lodash was vulnerable to a regular
expression denial of service issue in the toNumber, trim, and trimEnd
functions. An attacker could possibly use this issue to consume
excessive system resources, resulting in a denial of service. This issue
only affected Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. (CVE-2020-28500)
Marc Hassan discovered that Lodash did not properly sanitize input to
the template function. An attacker could
Red Hat
lodash: lodash: Arbitrary code execution via untrusted input in template imports
vendor_redhat·2026-03-31·CVSS 7.2
CVE-2026-4800 [HIGH] CWE-94 lodash: lodash: Arbitrary code execution via untrusted input in template imports
lodash: lodash: Arbitrary code execution via untrusted input in template imports
Impact:
The fix for CVE-2021-23337 (https://github.com/advisories/GHSA-35jh-r3h4-6jhm) added validation for the variable option in _.template but did not apply the same validation to options.imports key names. Both paths flow into the same Function() constructor sink.
When an application passes untrusted input as options.imports key names, an attacker can inject default-parameter expressions that execute arbitrary code at template compilation time.
Additionally, _.template uses assignInWith to merge imports, which enumerates inherited properties via for..in. If Object.prototype has been polluted by any other vector, the polluted keys are copied into the imports object and passed to Function().
Patches:
Users
Debian
CVE-2026-4800: node-lodash - Impact: The fix for CVE-2021-23337 (https://github.com/advisories/GHSA-35jh-r3h...
vendor_debian·2026·CVSS 7.2
CVE-2026-4800 [HIGH] CVE-2026-4800: node-lodash - Impact: The fix for CVE-2021-23337 (https://github.com/advisories/GHSA-35jh-r3h...
Impact: The fix for CVE-2021-23337 (https://github.com/advisories/GHSA-35jh-r3h4-6jhm) added validation for the variable option in _.template but did not apply the same validation to options.imports key names. Both paths flow into the same Function() constructor sink. When an application passes untrusted input as options.imports key names, an attacker can inject default-parameter expressions that execute arbitrary code at template compilation time. Additionally, _.template uses assignInWith to merge imports, which enumerates inherited properties via for..in. If Object.prototype has been polluted by any other vector, the polluted keys are copied into the imports object and passed to Function(). Patches: Users should upgrade to version 4.18.0. Workarounds: Do not pass untrusted input as key
CISA ICS
Siemens SINEC INS
cisa_ics·2022-09-15·CVSS 7.8
[HIGH] Siemens SINEC INS
## Archived Content In an effort to keep CISA.gov current, the archive contains outdated information that may not reflect current policy or programs.
ICS Advisory
##
Siemens SINEC INS
Last RevisedSeptember 15, 2022
Alert CodeICSA-22-258-05
## 1. EXECUTIVE SUMMARY
- CVSS v3 8.8
- ATTENTION: Exploitable remotely/Low attack complexity
- Vendor: Siemens
- Equipment: SINEC INS
- Vulnerabilities: Improper Input Validation, Integer Overflow or Wraparound, Uncontrolled Resource Consumption, Command Injection, Inadequate Encryption Strength, Missing Encryption of Sensitive Data, Improper Restriction of Operations Within the Bounds of a Memory Buffer, Exposure of Private Personal Information to an Unauthorized Actor, Open Redirect, Improper Resour
Oracle
Oracle Oracle Financial Services Applications Risk Matrix: Studio (Lodash) — CVE-2021-23337
vendor_oracle·2022-07-15·CVSS 7.2
CVE-2021-23337 [HIGH] Oracle Oracle Financial Services Applications Risk Matrix: Studio (Lodash) — CVE-2021-23337
Oracle Oracle Financial Services Applications Risk Matrix: Studio (Lodash) vulnerability
CVE: CVE-2021-23337
CVSS: 7.2
Protocol: HTTP
Remote exploit: No
Affected versions: Network
Advisory: cpujul2022 (JUL 2022)
Oracle
Oracle Oracle Communications Risk Matrix: Binding Support Function (Lodash) — CVE-2021-23337
vendor_oracle·2022-01-15·CVSS 7.2
CVE-2021-23337 [HIGH] Oracle Oracle Communications Risk Matrix: Binding Support Function (Lodash) — CVE-2021-23337
Oracle Oracle Communications Risk Matrix: Binding Support Function (Lodash) vulnerability
CVE: CVE-2021-23337
CVSS: 7.2
Protocol: HTTP
Remote exploit: No
Affected versions: Network
Advisory: cpujan2022 (JAN 2022)
Oracle
Oracle Oracle Communications Applications Risk Matrix: PSR Designer (Lodash) — CVE-2021-23337
vendor_oracle·2021-10-15·CVSS 7.2
CVE-2021-23337 [HIGH] Oracle Oracle Communications Applications Risk Matrix: PSR Designer (Lodash) — CVE-2021-23337
Oracle Oracle Communications Applications Risk Matrix: PSR Designer (Lodash) vulnerability
CVE: CVE-2021-23337
CVSS: 7.2
Protocol: HTTP
Remote exploit: No
Affected versions: Network
Advisory: cpuoct2021 (OCT 2021)
Red Hat
nodejs-lodash: command injection via template
vendor_redhat·2021-02-15·CVSS 7.2
CVE-2021-23337 [HIGH] CWE-78 nodejs-lodash: command injection via template
nodejs-lodash: command injection via template
Lodash versions prior to 4.17.21 are vulnerable to Command Injection via the template function.
A flaw was found in nodejs-lodash. A command injection flaw is possible through template variables.
Statement: In OpenShift ServiceMesh (OSSM) and Red Hat OpenShift Jaeger (RHOSJ) the affected containers are behind OpenShift OAuth authentication. This restricts access to the vulnerable nodejs-lodash library to authenticated users only, therefore the impact is low.
While Red Hat Virtualization's cockpit-ovirt has a dependency on lodash it doesn't use the vulnerable template function.
While Red Hat Quay has a dependency on lodash via restangular it doesn't use the vulnerable template function.
Package: kiali (OpenShift Service Mesh 2.0) - Affected
Debian
CVE-2021-23337: node-lodash - Lodash versions prior to 4.17.21 are vulnerable to Command Injection via the tem...
vendor_debian·2021·CVSS 7.2
CVE-2021-23337 [HIGH] CVE-2021-23337: node-lodash - Lodash versions prior to 4.17.21 are vulnerable to Command Injection via the tem...
Lodash versions prior to 4.17.21 are vulnerable to Command Injection via the template function.
Scope: local
bookworm: resolved (fixed in 4.17.21+dfsg+~cs8.31.173-1)
bullseye: resolved (fixed in 4.17.21+dfsg+~cs8.31.173-1)
forky: resolved (fixed in 4.17.21+dfsg+~cs8.31.173-1)
sid: resolved (fixed in 4.17.21+dfsg+~cs8.31.173-1)
trixie: resolved (fixed in 4.17.21+dfsg+~cs8.31.173-1)
No detection rules found.
Nuclei
Lodash Template - Server-Side Template Injection (RCE)
nuclei·CVSS 7.2
CVE-2021-23337 [HIGH] Lodash Template - Server-Side Template Injection (RCE)
Lodash Template - Server-Side Template Injection (RCE)
Lodash versions prior to 4.17.21 are vulnerable to Command Injection via the template function.
Template:
id: CVE-2021-23337
info:
name: Lodash Template - Server-Side Template Injection (RCE)
author: DhiyaneshDk
severity: high
description: |
Lodash versions prior to 4.17.21 are vulnerable to Command Injection via the template function.
impact: |
Attackers can execute arbitrary commands on the host system, leading to full system compromise.
remediation: |
Update to version 4.17.21 or later.
reference:
- https://nvd.nist.gov/vuln/detail/CVE-2021-23337
- https://security.snyk.io/vuln/SNYK-JS-LODASH-1040724
- https://github.com/lodash/lodash/commit/3469357cff396a26c363f8c1b5a91dde28ba4b1c
- https://github.com/advisories/GHSA-35jh-r3h4-
Bugzilla
CVE-2026-4800 lodash: lodash: Arbitrary code execution via untrusted input in template imports
bugzilla·2026-03-31·CVSS 7.2
CVE-2026-4800 [HIGH] CVE-2026-4800 lodash: lodash: Arbitrary code execution via untrusted input in template imports
CVE-2026-4800 lodash: lodash: Arbitrary code execution via untrusted input in template imports
Impact:
The fix for CVE-2021-23337 (https://github.com/advisories/GHSA-35jh-r3h4-6jhm) added validation for the variable option in _.template but did not apply the same validation to options.imports key names. Both paths flow into the same Function() constructor sink.
When an application passes untrusted input as options.imports key names, an attacker can inject default-parameter expressions that execute arbitrary code at template compilation time.
Additionally, _.template uses assignInWith to merge imports, which enumerates inherited properties via for..in. If Object.prototype has been polluted by any other vector, the polluted keys are copied into the imports object and passed to Function()
Wiz
CVE-2026-4800 Impact, Exploitability, and Mitigation Steps | Wiz
blogs_wiz·CVSS 7.2
CVE-2026-4800 [HIGH] CVE-2026-4800 Impact, Exploitability, and Mitigation Steps | Wiz
## CVE-2026-4800 :
JavaScript vulnerability analysis and mitigation
Impact:
The fix for CVE-2021-23337 ( https://github.com/advisories/GHSA-35jh-r3h4-6jhm ) added validation for the variable option in _.template but did not apply the same validation to options.imports key names. Both paths flow into the same Function() constructor sink.
When an application passes untrusted input as options.imports key names, an attacker can inject default-parameter expressions that execute arbitrary code at template compilation time.
Additionally, _.template uses assignInWith to merge imports, which enumerates inherited properties via for..in. If Object.prototype has been polluted by any other vector, the polluted keys are copied into the imports object and passed to Function().
Patches:
Users shoul
arXiv
Towards Automated Attack Simulations of BPMN-based Processes
arxiv_fulltext·2021-06-16
Towards Automated Attack Simulations of BPMN-based Processes
Towards Automated Attack Simulations of BPMN-based Processes
Simon Hacks, Robert Lagerström
Division of Network and Systems Engineering
KTH Royal Institute of Technology
Stockholm, Sweden
\shacks|robertl\@kth.se
Daniel Ritter
SAP SE
Walldorf (Baden), Germany
[email protected]
## Abstract
Process digitization and integration is an increasing need for enterprises, while cyber-attacks denote a growing threat.
Using the Business Process Management Notation (BPMN) is common to handle the digital and integration focus within and across organizations.
In other parts of the same companies, threat modeling and attack graphs are used for analyzing the security posture and resilience.
In this paper, we propose a novel approach to use attack graph simulations on processes represented in
https://cna.openjsf.org/security-advisories.htmlhttps://github.com/advisories/GHSA-35jh-r3h4-6jhmhttps://github.com/lodash/lodash/commit/3469357cff396a26c363f8c1b5a91dde28ba4b1chttps://access.redhat.com/errata/RHSA-2026:10131https://access.redhat.com/errata/RHSA-2026:10175https://access.redhat.com/errata/RHSA-2026:10710https://access.redhat.com/errata/RHSA-2026:10713https://access.redhat.com/errata/RHSA-2026:11454https://access.redhat.com/errata/RHSA-2026:11469https://access.redhat.com/errata/RHSA-2026:11470https://access.redhat.com/errata/RHSA-2026:11471https://access.redhat.com/errata/RHSA-2026:11493https://access.redhat.com/errata/RHSA-2026:11494https://access.redhat.com/errata/RHSA-2026:11495https://access.redhat.com/errata/RHSA-2026:11516https://access.redhat.com/errata/RHSA-2026:12277https://access.redhat.com/errata/RHSA-2026:12279https://access.redhat.com/errata/RHSA-2026:13545https://access.redhat.com/errata/RHSA-2026:13553https://access.redhat.com/errata/RHSA-2026:13571https://access.redhat.com/errata/RHSA-2026:13826https://access.redhat.com/errata/RHSA-2026:14870https://access.redhat.com/errata/RHSA-2026:14871https://access.redhat.com/errata/RHSA-2026:16874https://access.redhat.com/errata/RHSA-2026:17448https://access.redhat.com/errata/RHSA-2026:17468https://access.redhat.com/errata/RHSA-2026:17469https://access.redhat.com/errata/RHSA-2026:17547https://access.redhat.com/errata/RHSA-2026:17549https://access.redhat.com/errata/RHSA-2026:17550https://access.redhat.com/errata/RHSA-2026:17598https://access.redhat.com/errata/RHSA-2026:17789https://access.redhat.com/errata/RHSA-2026:19008https://access.redhat.com/errata/RHSA-2026:19167https://access.redhat.com/errata/RHSA-2026:19409https://access.redhat.com/errata/RHSA-2026:19410https://access.redhat.com/errata/RHSA-2026:19712https://access.redhat.com/errata/RHSA-2026:20041https://access.redhat.com/errata/RHSA-2026:20042https://access.redhat.com/errata/RHSA-2026:20943https://access.redhat.com/errata/RHSA-2026:20946https://access.redhat.com/errata/RHSA-2026:21658https://access.redhat.com/errata/RHSA-2026:22619https://access.redhat.com/errata/RHSA-2026:24331https://access.redhat.com/errata/RHSA-2026:24762https://access.redhat.com/errata/RHSA-2026:24977https://access.redhat.com/errata/RHSA-2026:29795https://access.redhat.com/errata/RHSA-2026:34100https://access.redhat.com/errata/RHSA-2026:34342https://access.redhat.com/errata/RHSA-2026:34608https://access.redhat.com/errata/RHSA-2026:36621https://access.redhat.com/errata/RHSA-2026:36651https://access.redhat.com/errata/RHSA-2026:37186https://access.redhat.com/errata/RHSA-2026:40118https://access.redhat.com/errata/RHSA-2026:40795https://access.redhat.com/errata/RHSA-2026:40945https://access.redhat.com/errata/RHSA-2026:40984https://access.redhat.com/errata/RHSA-2026:41928https://access.redhat.com/errata/RHSA-2026:41941https://access.redhat.com/errata/RHSA-2026:41944https://access.redhat.com/errata/RHSA-2026:42078https://access.redhat.com/errata/RHSA-2026:8483https://access.redhat.com/errata/RHSA-2026:8484https://access.redhat.com/errata/RHSA-2026:8490https://access.redhat.com/errata/RHSA-2026:8491https://access.redhat.com/errata/RHSA-2026:8493https://access.redhat.com/errata/RHSA-2026:8498https://access.redhat.com/errata/RHSA-2026:9385https://access.redhat.com/errata/RHSA-2026:9742https://access.redhat.com/security/cve/CVE-2026-4800https://bugzilla.redhat.com/show_bug.cgi?id=2453496https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-4800.json
2026-03-31
Published