Input validation error in JSONata - #VU173132

 

Input validation error in JSONata - #VU173132

Published: December 3, 2026


Vulnerability identifier: #VU173132
CSH Severity: Low
CVSS v4: 6.3 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to bypass argument validation for host-registered functions, with effects that depend on how each function handles unexpected argument types.

The vulnerability exists due to improper input validation in JSONata's $spread and, on the 1.x branch, $keys when they treat built-in and host-registered functions as ordinary objects, exposing internal values through $spread and listing field names through $keys. A remote attacker can submit an expression to an application that evaluates untrusted expressions and registers host functions to invoke a registered function with arguments its signature would reject.


Affected software

JSONata

Remediation

Install security update from vendor's website.

JSONata - addressed in versions 1.8.12, 2.3.1

External References

Related Security Bulletins