CVE-2024-27307 — Vulnerability in jsonata — CVE Details
JSONata expression can pollute the "Object" prototype
Summary
Advisory Timeline
- First published March 4, 2024 (952 days ago).
- Last revised September 10, 2026 — 919 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
npm install jsonata@2.0.4
npm install jsonata@1.8.7
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (2)
Affects 1 ecosystem: npm (1).
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-1321Prototype PollutionMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://github.com/jsonata-js/jsonata/security/advisories/GHSA-fqg8-vfv7-8fj8WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-27307ADVISORY
- https://github.com/jsonata-js/jsonata/commit/1d579dbe99c19fbe509f5ba2c6db7959b0d456d1WEB
- https://github.com/jsonata-js/jsonata/commit/335d38f6278e96c908b24183f1c9c90afc8ae00cWEB
- https://github.com/jsonata-js/jsonata/commit/c907b5e517bb718015fcbd993d742ba6202f2be2WEB
- https://github.com/jsonata-js/jsonataPACKAGE
- https://github.com/jsonata-js/jsonata/releases/tag/v2.0.4WEB
Frequently Asked Questions
- What is CVE-2024-27307?
- JSONata expression can pollute the "Object" prototype This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
- How do I check if my project is affected by CVE-2024-27307?
- CVE-2024-27307 affects jsonata. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-27307 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation is straightforward and causes maximum impact. Patch immediately.
Also Known As
Related CVEs
- CVE-2026-77414CRITICAL
JSONata vulnerable to Arbitrary Code Execution via crafted JSONata expressions
- CVE-2026-77415CRITICAL
JSONata vulnerable to Arbitrary Code Execution via crafted JSONata expressions
- CVE-2026-77413CRITICAL
JSONata: Arbitrary Code Execution via crafted JSONata expressions
- CVE-2026-107722CRITICAL
fast-jwt: Incomplete patch of CVE-2026-34950: Non-whitespace key-prefix re-enables RSA→HS256 algorithm confusion
- CVE-2026-108261CRITICAL
TinaCMS admin preview iframe loads an attacker-controlled origin from the URL fragment
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies