All vulnerabilities

npm

CVE-2026-133309

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

Severity
High 8.5
Published
19 Nov 2026
Last changed
19 Nov 2026
Added to UpHeron
23 Nov 2026
Fixed in
0.1.4
Exploit chance
0.2% in the next 30 daysHigher than 11% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
Code injection (CWE-94)
Attack
Needs local access · Needs a user account · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS 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
Sources
CVE Program

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

From the CVE Program.

Affected software

SoftwareAffected versions
@scalar/typeboxnpm · osv:npm:@scalar/typebox
  • From 0.1.0 before 0.1.4

About @scalar/typebox

Weekly downloads (npm)
2,687,744npm, 23 Nov 2026

This is the only vulnerability in @scalar/typebox in our list.

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-133309