cve.bz

CVE-2026-12208 jsonata-js jsonata: Code Injection

5.5 mediumEPSS 0.3%Fix available

Medium (5.5) in jsonata-js jsonata. EPSS 0.3% estimated probability of exploitation activity in the next 30 days. Fixed in jsonata 1.8.8, 2.2.1.

On this page
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

CVSS 4.0

5.5 medium
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 25th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2026-06-15. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-94 Improper Control of Generation of Code (Code Injection)
CWE-1321 Improperly Controlled Modification of Object Prototype Attributes (Prototype Pollution)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • jsonata (npm): fixed in 1.8.8, 2.2.1

Ask an AI about this CVE

Show the promptExplain CVE-2026-12208 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-12208?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-12208?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-12208 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
jsonata-js jsonata2.0
jsonata-js jsonata2.1
jsonata-js jsonata2.2.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-663r-x48j-fg8pnpmjsonata<1.8.81.8.8
GHSA-663r-x48j-fg8pnpmjsonata>=2.0.0 <2.2.12.2.1

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Red Hat ships the jsonata library as a dependency in several products including OpenShift Serverless, Red Hat JBoss EAP Expansion Pack (XP), Cryostat, and Konflux. The vulnerability allows prototype pollution via the createFrame function, which could be exploited if user-controlled input is passed to jsonata expressions. No upstream fix is currently available.

Red Hat's mitigation

Do not pass untrusted or user-controlled input to jsonata expressions. If user input must be evaluated, sanitize it to prevent prototype pollution payloads targeting __proto__ or constructor.prototype.

ProductPackageStateAdvisory
Cryostat 4cryostat/cryostat-grafana-dashboard-rhel9Fix deferred
Cryostat 4grafana-infinity-datasource-npmFix deferred
OpenShift Serverlessopenshift-serverless-1/kn-eventing-integrations-aws-ddb-streams-source-rhel9Fix deferred
OpenShift Serverlessopenshift-serverless-1/kn-eventing-integrations-aws-s3-sink-rhel9Fix deferred
OpenShift Serverlessopenshift-serverless-1/kn-eventing-integrations-aws-s3-source-rhel9Fix deferred
OpenShift Serverlessopenshift-serverless-1/kn-eventing-integrations-aws-sns-sink-rhel9Fix deferred
OpenShift Serverlessopenshift-serverless-1/kn-eventing-integrations-aws-sqs-sink-rhel9Fix deferred
OpenShift Serverlessopenshift-serverless-1/kn-eventing-integrations-aws-sqs-source-rhel9Fix deferred
OpenShift Serverlessopenshift-serverless-1/kn-eventing-integrations-log-sink-rhel9Fix deferred
OpenShift Serverlessopenshift-serverless-1/kn-eventing-integrations-timer-source-rhel9Fix deferred
OpenShift Serverlessopenshift-serverless-1/kn-eventing-integrations-transform-jsonata-rhel9Fix deferred
Red Hat JBoss Enterprise Application Platform Expansion Packcamel-jsonataFix deferred
Red Hat JBoss Enterprise Application Platform Expansion Packcamel-quarkus-integration-test-jsonataFix deferred
Red Hat JBoss Enterprise Application Platform Expansion Packcamel-quarkus-jsonataFix deferred
Red Hat JBoss Enterprise Application Platform Expansion PackjsonataFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-12208.

Attack patterns (CAPEC)

  • CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
  • CAPEC-77 Manipulating User-Controlled Variables Likelihood: High · Severity: Very High
  • CAPEC-242 Code Injection Likelihood: High · Severity: High
  • CAPEC-1 Accessing Functionality Not Properly Constrained by ACLs Likelihood: High · Severity: High
  • CAPEC-180 Exploiting Incorrectly Configured Access Control Security Levels Likelihood: High · Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON