# jsonata (npm) vulnerabilities

6 known vulnerabilities (4 critical, 1 high, 1 medium), with the versions each affects and the releases that fix them.

## At a glance

- Latest release: 2.2.2 (Jul 16, 2026): no advisory affects it
- Newest unaffected release: 2.2.2 (Jul 16, 2026), the latest release
- Weekly downloads: 2.9M
- Dependents: 776
- Releases: 59 since 1.0.0 (Sep 27, 2016)
- Registry: https://www.npmjs.com/package/jsonata
- Releases read: Nov 8, 2026

## Version timeline

Affected versions per advisory, in version order:

- CVE-2026-77415: 1.0.0 to 1.8.7 (1.8.8 is outside it); 2.0.0 to 2.2.0 (2.2.1 is outside it)
- CVE-2026-77414: 1.0.0 to 1.8.7 (1.8.8 is outside it); 2.0.0 to 2.2.0 (2.2.1 is outside it)
- CVE-2026-77413: 1.0.0 to 1.8.7 (1.8.8 is outside it); 2.0.0 to 2.1.1 (2.2.0 is outside it)
- CVE-2026-52746: 1.0.0 to 1.8.8 (1.8.9 is outside it); 2.0.0 to 2.1.1 (2.2.0 is outside it)
- CVE-2026-12208: 1.0.0 to 1.8.7 (1.8.8 is outside it); 2.0.0 to 2.2.0 (2.2.1 is outside it)
- CVE-2024-27307: 1.4.0 to 1.8.6 (1.8.7 is outside it); 2.0.0 to 2.0.3 (2.0.4 is outside it)

## Advisories (6)

### [CVE-2026-77415](https://cve.now/CVE-2026-77415): JSONata: Arbitrary Code Execution via crafted JSONata expressions

- Severity: Critical 9.3
- Published: Aug 21, 2026
- Affected: from 2.0.0, fixed in 2.2.1; fixed in 1.8.8.
- Fixed in 1.8.8 (released Jul 16, 2026, 36 days before disclosure) and 2.2.1 (released May 19, 2026, 94 days before disclosure).
- The latest release, 2.2.2, is not affected.
- 28% of jsonata downloads last week were affected versions (944.3K).

### [CVE-2026-77414](https://cve.now/CVE-2026-77414): JSONata: Arbitrary Code Execution via crafted JSONata expressions

- Severity: Critical 9.3
- Published: Aug 21, 2026
- Affected: from 2.0.0, fixed in 2.2.1; fixed in 1.8.8.
- Fixed in 1.8.8 (released Jul 16, 2026, 36 days before disclosure) and 2.2.1 (released May 19, 2026, 94 days before disclosure).
- The latest release, 2.2.2, is not affected.
- 28% of jsonata downloads last week were affected versions (944.3K).

### [CVE-2026-77413](https://cve.now/CVE-2026-77413): JSONata: Arbitrary Code Execution via crafted JSONata expressions

- Severity: Critical 9.3
- Published: Aug 21, 2026
- Affected: fixed in 1.8.8; from 2.0.0, fixed in 2.2.0.
- Fixed in 1.8.8 (released Jul 16, 2026, 36 days before disclosure) and 2.2.0 (released May 14, 2026, 99 days before disclosure).
- The latest release, 2.2.2, is not affected.
- 28% of jsonata downloads last week were affected versions (940.9K).

### [CVE-2026-52746](https://cve.now/CVE-2026-52746): JSONata: Malicious inputs to "$toMillis" function can cause resource exhaustion

- Severity: High 7.5
- Published: Jul 17, 2026
- Affected: from 2.0.0, fixed in 2.2.0; fixed in 1.8.9.
- Fixed in 1.8.9 (released Jul 30, 2026, 13 days after disclosure) and 2.2.0 (released May 14, 2026, 64 days before disclosure).
- The latest release, 2.2.2, is not affected.
- 29% of jsonata downloads last week were affected versions (971.1K).

### [CVE-2026-12208](https://cve.now/CVE-2026-12208): jsonata-js jsonata Function Binding Frame System jsonata.js createFrame prototype pollution

- Severity: Medium 6.9
- Published: Jun 15, 2026
- Affected: fixed in 1.8.8; from 2.0.0, fixed in 2.2.1.
- Fixed in 1.8.8 (released Jul 16, 2026, 31 days after disclosure) and 2.2.1 (released May 19, 2026, 27 days before disclosure).
- The latest release, 2.2.2, is not affected.
- 28% of jsonata downloads last week were affected versions (944.3K).

### [CVE-2024-27307](https://cve.now/CVE-2024-27307): JSONata expression can pollute the "Object" prototype

- Severity: Critical 9.8
- Published: Mar 6, 2024
- Affected: from 1.4.0, fixed in 1.8.7; from 2.0.0, fixed in 2.0.4.
- Fixed in 1.8.7 (released Mar 1, 2024, 5 days before disclosure) and 2.0.4 (released Feb 29, 2024, 6 days before disclosure).
- The latest release, 2.2.2, is not affected.
- 1.5% of jsonata downloads last week were affected versions (50.5K).

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/packages/npm/jsonata
Site guide for agents: https://cve.now/llms.txt
Uses NVD data; not endorsed by NVD.
