Description
JSONata is a JSON query and transformation language. Starting in version 1.4.0 and prior to version 1.8.7 and 2.0.4, a malicious expression can use the transform operator to override properties on the `Object` constructor and prototype. This may lead to denial of service, remote code execution or other unexpected behavior in applications that evaluate user-provided JSONata expressions. This issue has been fixed in JSONata versions 1.8.7 and 2.0.4. Applications that evaluate user-provided expressions should update ASAP to prevent exploitation. As a workaround, one may apply the patch manually.
Published: 2024-03-06
Score: 9.8 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2024-0922 JSONata is a JSON query and transformation language. Starting in version 1.4.0 and prior to version 1.8.7 and 2.0.4, a malicious expression can use the transform operator to override properties on the `Object` constructor and prototype. This may lead to denial of service, remote code execution or other unexpected behavior in applications that evaluate user-provided JSONata expressions. This issue has been fixed in JSONata versions 1.8.7 and 2.0.4. Applications that evaluate user-provided expressions should update ASAP to prevent exploitation. As a workaround, one may apply the patch manually.
Github GHSA Github GHSA GHSA-fqg8-vfv7-8fj8 JSONata expression can pollute the "Object" prototype
History

Thu, 04 Dec 2025 18:00:00 +0000

Type Values Removed Values Added
First Time appeared Jsonata
Jsonata jsonata
CPEs cpe:2.3:a:jsonata:jsonata:*:*:*:*:*:*:*:*
Vendors & Products Jsonata
Jsonata jsonata

Sat, 12 Jul 2025 13:45:00 +0000

Type Values Removed Values Added
Metrics epss

{'score': 0.01251}

epss

{'score': 0.01371}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2024-08-13T17:23:40.132Z

Reserved: 2024-02-22T18:08:38.876Z

Link: CVE-2024-27307

cve-icon Vulnrichment

Updated: 2024-08-02T00:28:00.401Z

cve-icon NVD

Status : Analyzed

Published: 2024-03-06T20:15:47.537

Modified: 2025-12-04T17:55:46.957

Link: CVE-2024-27307

cve-icon Redhat

Severity : Important

Publid Date: 2024-03-06T00:00:00Z

Links: CVE-2024-27307 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses