Input validation error in JSONata - #VU173132
Published: December 3, 2026
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.