CVE-2026-133309
High 8.5No known exploitationFix available@scalar/typebox before 0.1.4 Code Injection via TypeCompiler Schema Strings
Record last updated
CVSS score
High on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 11% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
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().
Weakness: CWE-94
Patching and mitigation
- Patch status
- Fix available (source: CVE record (VulnCheck))
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- github.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| scalar | typebox | from 0.1.0 before 0.1.4 | 0.1.4 | CVE Program |
Timeline
Disclosure
CVE record published by VulnCheck
Source: CVE Program (opens in a new tab)
Patch
Fix documented by CVE record (VulnCheck)
Vendor guidance and references
- Patch Commit (opens in a new tab)patch
- Fix Pull Request (opens in a new tab)issue-tracking, patch
- https://github.com/scalar/typebox (opens in a new tab)product
- https://github.com/scalar/typebox/blob/v0.1.3/src/compiler/compiler.ts (opens in a new tab)technical-description
- GitHub Security Advisory (GHSA-976x-prgx-qv35) (opens in a new tab)related, third-party-advisory
- https://www.npmjs.com/package/@scalar/typebox (opens in a new tab)product
- VulnCheck Advisory: @scalar/typebox before 0.1.4 Code Injection via TypeCompiler Schema Strings (opens in a new tab)third-party-advisory