CVE-2026-133309

high

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

References

https://www.vulncheck.com/advisories/scalar-typebox-before-0.1.4-code-injection-via-typecompiler-schema-strings

https://www.npmjs.com/package/@scalar/typebox

https://github.com/sinclairzx81/sinclair-typebox/security/advisories/GHSA-976x-prgx-qv35

https://github.com/scalar/typebox/pull/5

https://github.com/scalar/typebox/commit/21d55f035a83868a3577be2142b9c9bbc125969b

https://github.com/scalar/typebox/blob/v0.1.3/src/compiler/compiler.ts#L427

https://github.com/scalar/typebox

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-130387

Details

Source: Mitre, NVD

Published: 2026-11-19

Updated: 2026-11-19

CVSS v3

Base Score: 7.8

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Severity: High

CVSS v4

Base 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

Severity: High

EPSS

EPSS: 0.00211