Technical impact
Elo, a functional expression language for no‑code tools, allowed the .constructor property to be accessed without validation when parsing plain Elo strings via defaultFormats.elo.parse(), bin/elo, or the online try feature. The member_access handler in src/transform.ts does not reject meta‑properties, src/compilers/javascript.ts emits the property directly, and src/parser.ts accepts constructor as an ordinary identifier. This flaw enables an attacker to build a JavaScript Function object by chaining .constructor.constructor, causing arbitrary host‑runtime code to execute. The resulting JavaScript runs with the privileges of the running environment, enabling browser script execution that can compromise a user session on the auto‑running playground and arbitrary Node.js code execution on library, CI, or DevOps hosts.
Affected Systems
The vulnerability affects the Enspirit:elo product, specifically Elo expression language libraries and tools installed before version 1.0.1. All consumers of the Elo parser that pass user‑supplied strings, including the web playground and any Node.js applications that invoke Elo parsing, are susceptible until the product is upgraded to at least version 1.0.1.
Risk and Exploitability
The CVSS score of 9.8 indicates critical impact for availability, confidentiality, and integrity. EPSS data is not available, so the likelihood of exploitation is currently unknown but the flaw is open to any untrusted string input. The vulnerability is not listed in the CISA KEV catalog, but its mechanism—unfiltered meta‑property access leading to JavaScript Function creation—makes it a prime target for automated exploitation. Attackers can deliver malicious Elo strings through any interface that processes EOL code, making the risk high in both browser and server contexts.
Github GHSA