CVE-2026-133309
@scalar/typebox before 0.1.4 Code Injection via TypeCompiler Schema Strings
CVSS Score
7.8
EPSS Score
0.0%
EPSS Percentile
0th
@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-94 |
| Vendor | scalar |
| Product | typebox |
| Published | Nov 19, 2026 |
| Last Updated | Nov 19, 2026 |
Stay Ahead of the Next One
Get instant alerts for scalar typebox
Be the first to know when new high vulnerabilities affecting scalar typebox are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Affected Versions
scalar / typebox
0.1.0 < 0.1.4
References
github.com: https://github.com/scalar/typebox/pull/5 github.com: https://github.com/scalar/typebox/commit/21d55f035a83868a3577be2142b9c9bbc125969b github.com: https://github.com/scalar/typebox/blob/v0.1.3/src/compiler/compiler.ts#L427 github.com: https://github.com/sinclairzx81/sinclair-typebox/security/advisories/GHSA-976x-prgx-qv35 npmjs.com: https://www.npmjs.com/package/@scalar/typebox github.com: https://github.com/scalar/typebox vulncheck.com: https://www.vulncheck.com/advisories/scalar-typebox-before-0.1.4-code-injection-via-typecompiler-schema-strings
Credits
Mohd Absar Ansari hanspagel