Advisory

GHSA-663r-x48j-fg8p

Also known as: CVE-2026-12208

Summary

jsonata: Function Binding Prototype Pollution via hasOwnProperty Override

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-06-15 03:30 UTC
Modified
2026-09-08 17:56 UTC

Affected packages and fixes

jsonata

npm · All systems

Affected

  • introduced 0, fixed 1.8.8 (semver)

Fixed versions

1.8.8

Fix

jsonata

npm · All systems

Affected

  • introduced 2.0.0, fixed 2.2.1 (semver)

Fixed versions

2.2.1

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences