@scalar/typebox before 0.1.4 contains a code injection vulnerability in TypeCompiler that allows attackers to execute JavaScript by supplying crafted schema strings. Attackers can inject single-quote breakouts into string format, Kind names, property keys or Literal values to run arbitrary JavaScript in the host Node.js process during Compile() and Check().
History

Fri, 20 Nov 2026 16:30:00 +0000

Type Values Removed Values Added
First Time appeared Scalar
Scalar typebox
Vendors & Products Scalar
Scalar typebox

Thu, 19 Nov 2026 16:45:00 +0000

Type Values Removed Values Added
Description @scalar/typebox before 0.1.4 contains a code injection vulnerability in TypeCompiler that allows attackers to execute JavaScript by supplying crafted schema strings. Attackers can inject single-quote breakouts into string format, Kind names, property keys or Literal values to run arbitrary JavaScript in the host Node.js process during Compile() and Check().
Title @scalar/typebox before 0.1.4 Code Injection via TypeCompiler Schema Strings
Weaknesses CWE-94
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.5, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published: 2026-11-19T16:32:28.508Z

Updated: 2026-11-19T20:42:05.314Z

Reserved: 2026-11-19T16:21:24.008Z

Link: CVE-2026-133309

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-19T17:18:52.430

Modified: 2026-11-19T21:18:01.470

Link: CVE-2026-133309

cve-icon Redhat

No data.