MEDIUM5.3
GHSA-663r-x48j-fg8p
jsonata: Function Binding Prototype Pollution via hasOwnProperty Override
Quick fix
GHSA-663r-x48j-fg8p — jsonata: upgrade to the fixed version with the command below.
npm install jsonata@1.8.8Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
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]