# CVE-2021-4329: json-logic-js logic.js command injection

- Severity: Medium 5.5 (CVSS:3.1, scored by VulDB) `CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.21%, higher than 83% of CVEs (2026-12-01)
- Published: 2023-03-05T19:00:05.704Z
- Modified: 2026-06-17T04:19:31.070Z
- Also known as: GHSA-67j4-2mh6-8627
- Weaknesses: CWE-77
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulDB

## Description

A vulnerability, which was classified as critical, has been found in json-logic-js 2.0.0. Affected by this issue is some unknown functionality of the file logic.js. The manipulation leads to command injection. Upgrading to version 2.0.1 is able to address this issue. The patch is identified as c1dd82f5b15d8a553bb7a0cfa841ab8a11a9c227. It is recommended to upgrade the affected component. VDB-222266 is the identifier assigned to this vulnerability.

(As written by CVE List.)

## Affected

- json-logic-js: 2.0.0
- json-logic-js (npm): before 2.0.1
- json-logic-js_project json-logic-js: 2.0.0

## Every score

- VulDB: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- VulDB: CVSS:3.0 5.5 Medium `CVSS:3.0/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- VulDB: CVSS:2.0 5.2 Medium `AV:A/AC:L/Au:S/C:P/I:P/A:P`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:4.0 Critical `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://vuldb.com/?id.222266> (permissions-required, technical-description, third-party-advisory, vdb-entry, web)
- <https://vuldb.com/?ctiid.222266> (permissions-required, signature, third-party-advisory, web)
- <https://github.com/jwadhams/json-logic-js/pull/98> (issue-tracking, patch, web)
- <https://github.com/jwadhams/json-logic-js/commit/c1dd82f5b15d8a553bb7a0cfa841ab8a11a9c227> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-4329> (advisory)
- <https://github.com/jwadhams/json-logic-js> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/json-logic/PYSEC-2023-209.yaml> (web)

## Sources

- CVE List: [CVE-2021-4329](https://www.cve.org/CVERecord?id=CVE-2021-4329), CVE Terms of Use, modified 2025-03-05
- GitHub Advisory Database: [GHSA-67j4-2mh6-8627](https://github.com/advisories/GHSA-67j4-2mh6-8627), CC-BY-4.0, modified 2024-11-22
- NVD: [CVE-2021-4329](https://nvd.nist.gov/vuln/detail/CVE-2021-4329), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-4329 · Whole record: https://cve.day/CVE-2021-4329.json · Rebuilt by cve.day 2026-11-25T22:24:37.140Z
