ADVISORIES

GitHub Advisory Database

GHSA-663r-x48j-fg8p

jsonata: Function Binding Prototype Pollution via hasOwnProperty Override

Moderate CVE-2026-12208

Details

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.

Affected packages

EcosystemPackageAffected versions
npmjsonata
All versions before 1.8.8 (fixed in 1.8.8)
npmjsonata
From 2.0.0 before 2.2.1 (fixed in 2.2.1)

References