← VULNERABILITIES

CVE-2026-133309

@scalar/typebox before 0.1.4 Code Injection via TypeCompiler Schema Strings

High · 8.5Fix available
CVSS
8.5
EPSS
0.21% (p12)
Published
2026-11-19
Age
15d old
Modified
2026-11-19
Product
scalar typebox
Aliases
GHSA-976x-prgx-qv35

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

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

Fixed in

0.1.4

Affected packages

EcosystemPackageRangeFixed
vendortypebox>=0.1.0, <0.1.40.1.4

Sources

  • NVD · first seen 15d ago · NVD terms of use
  • OSV · first seen 15d ago · CC-BY 4.0
  • CVE List · first seen 15d ago · CVE Terms of Use

References

JSON