CVEvulnerability

CVE-2026-44267

9.8 CRITICAL Published 2026-11-03 Modified 2026-11-03 Official page ↗

Exploitation and prioritisation

EU Vulnerability Database
EUVD-2026-116111

Affected packages

EcosystemPackageVulnerableFixed inAdvisory
npm@enspirit/elo< 1.0.11.0.1GHSA-33r5-xmm8-v6x5
Status
Received
Published
2026-11-03
Last modified
2026-11-03
Assigner
[email protected]
CVSS 3.1 ([email protected])
9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-1336, CWE-693, CWE-79, CWE-94

Description

Elo is a purely functional expression language for no-code tools. Prior to 1.0.1, plain Elo strings supplied to defaultFormats.elo.parse(), bin/elo, or elo-lang.org/try can use .constructor.constructor to reach JavaScript Function because the member_access handler in src/transform.ts does not reject meta-properties, src/compilers/javascript.ts emits the surviving property directly, and src/parser.ts accepts constructor as an ordinary identifier. The resulting generated JavaScript executes attacker-selected code in the host runtime. This permits browser script execution and session compromise on the auto-running playground and arbitrary Node.js code execution on library, CI, or DevOps hosts. This plain-string path is distinct from the programmatic AST-object injection issue. This issue is fixed in version 1.0.1.

Related

Weakness · CWE (4)

  • CWE-1336 Improper Neutralization of Special Elements Used in a Template Engine weakness
  • CWE-693 Protection Mechanism Failure weakness
  • CWE-79 Improper Neutralization of Input During Web Page Generation weakness
  • CWE-94 Improper Control of Generation of Code weakness

Referenced by GitHub Advisory · alias (1)

  • GHSA-33r5-xmm8-v6x5 Elo JavaScript emitter has sandbox escape to arbitrary Node.js / browser code execution via unfiltered `.constructor` member access advisory · npm

References