Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. jsonata
  4. ›
  5. CVE-2026-12208

CVE-2026-12208: jsonata: Function Binding Prototype Pollution via hasOwnProperty Override

June 15, 2026 (updated September 8, 2026)

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.

References

  • github.com/OriginSecurityX/jsonata-hasownproperty-bypass
  • github.com/advisories/GHSA-663r-x48j-fg8p
  • github.com/jsonata-js/jsonata/commit/59e25144fc3b7125f6befd71b8a6e14e1fa610d2
  • github.com/jsonata-js/jsonata/commit/f09df8416eab8ff44926fc6527c80fb8701de159
  • github.com/jsonata-js/jsonata/pull/799
  • github.com/jsonata-js/jsonata/pull/806
  • github.com/jsonata-js/jsonata/releases/tag/v1.8.8
  • github.com/jsonata-js/jsonata/releases/tag/v2.2.1
  • nvd.nist.gov/vuln/detail/CVE-2026-12208
  • vuldb.com/cve/CVE-2026-12208
  • vuldb.com/submit/832446
  • vuldb.com/vuln/370850
  • vuldb.com/vuln/370850/cti

Code Behaviors & Features

Detect and mitigate CVE-2026-12208 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.8.8, all versions starting from 2.0.0 before 2.2.1

Fixed versions

  • 1.8.8
  • 2.2.1

Solution

Upgrade to versions 1.8.8, 2.2.1 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

npm/jsonata/CVE-2026-12208.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 22 Sep 2026 12:19:49 +0000.