VulnWatch by ve1ve2
high 8.5 EPSS 0.21%

CVE-2026-133309: @scalar/typebox before 0.1.4 contains a code injection vulnerability in TypeCompiler that allows attackers to execute JavaScript by supplying crafted schema st…

Source:
NVD CVE API 2.0
Published:
Fetched:
Updated:

https://nvd.nist.gov/vuln/detail/CVE-2026-133309 ↗

CWE-94

@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(). References: https://github.com/scalar/typebox https://github.com/scalar/typebox/blob/v0.1.3/src/compiler/compiler.ts#L427 https://github.com/scalar/typebox/commit/21d55f035a83868a3577be2142b9c9bbc125969b https://github.com/scalar/typebox/pull/5 https://github.com/sinclairzx81/sinclair-typebox/security/advisories/GHSA-976x-prgx-qv35 https://www.npmjs.com/package/@scalar/typebox https://www.vulncheck.com/advisories/scalar-typebox-before-0.1.4-code-injection-via-typecompiler-schema-strings

Linked vulnerabilities (2)

CVE-2026-133309 high 8.5 EPSS 0.21% (p11) NVDCVE.orgGHSA
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

@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().

CWE: CWE-94Aliases: GHSA-976x-prgx-qv35NVD: Received