GitHub Advisoryadvisory · npm
GHSA-663r-x48j-fg8p jsonata: Function Binding Prototype Pollution via hasOwnProperty Override
MEDIUM
Official page ↗
- Aliases
- CVE-2026-12208
- Ecosystem
- npm
- Packages
- jsonata
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- Weaknesses
- CWE-94
- Reviewed
- 2026-09-08
Affected packages
• npm jsonata: < 1.8.8 → fixed in 1.8.8
• npm jsonata: >= 2.0.0, < 2.2.1 → fixed in 2.2.1
Description
A weakness has been identified in jsonata-js jsonata up to 2.2.0. The affected element is the function createFrame of the file src/jsonata.js of the component Function Binding Frame System. This manipulation causes improperly controlled modification of object prototype attributes. It is possible to initiate the attack remotely. The exploit has been made available to the public and could be used for attacks. The vendor was contacted early about this disclosure but did not respond in any way.
Related
Alias · CVE (1)
- CVE-2026-12208 A weakness has been identified in jsonata-js jsonata up to 2.2.0. vulnerability
Weakness · CWE (1)
- CWE-94 Improper Control of Generation of Code weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-12208 advisory
- https://github.com/jsonata-js/jsonata/pull/799 web
- https://github.com/jsonata-js/jsonata/pull/806 web
- https://github.com/jsonata-js/jsonata/commit/59e25144fc3b7125f6befd71b8a6e14e1fa610d2 web
- https://github.com/jsonata-js/jsonata/commit/f09df8416eab8ff44926fc6527c80fb8701de159 web
- https://github.com/OriginSecurityX/jsonata-hasownproperty-bypass web
- https://github.com/jsonata-js/jsonata package
- https://github.com/jsonata-js/jsonata/releases/tag/v1.8.8 web
- https://github.com/jsonata-js/jsonata/releases/tag/v2.2.1 web
- https://vuldb.com/cve/CVE-2026-12208 web
- https://vuldb.com/submit/832446 web
- https://vuldb.com/vuln/370850 web
- https://vuldb.com/vuln/370850/cti web