CVE-2026-133309 json
@scalar/typebox before 0.1.4 Code Injection via TypeCompiler Schema Strings
published 11h ago modified 6h ago also EUVD-2026-130387
- cvss
- 8.5
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- —
- no EPSS score yet
- public exploits
- 0
- none known
Summary
@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().
Patch / fix
- scalar typebox 0.1.4
- github.com/scalar/typebox@21d55f0 commit
- github.com/scalar/typebox#5 pull request
Is CVE-2026-133309 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 7h ago
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 8.5 | 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 |
| CNA | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Inferred packages
No advisory lists a package for this vulnerability yet. The CVE names these as products and links their GitHub repository, and the package registry names the same repository, so they are probably the affected packages. Low confidence: the versions are the CVE’s own for the product, and a stack check reports the package as unchecked when there are none.
| ecosystem | package | repository | affected |
|---|---|---|---|
| npm | @scalar/typebox | scalar/typebox | >= 0.1.0, < 0.1.4 |
Affected products
- scalar typebox
Classification
- Weakness
-
- CWE-94 Improper Control of Generation of Code
References
-
github.com
/scalar/typebox/pull/5
patch, issue-tracking
-
github.com
/scalar/typebox/commit/21d55f035a83868a3577be2142b9c9bbc125969b
patch
-
github.com
/scalar/typebox/blob/v0.1.3/src/compiler/compiler.ts#L427
technical-description
-
github.com
/sinclairzx81/sinclair-typebox/security/advisories/GHSA-976x-prgx-qv35
related, third-party-advisory
-
npmjs.com
/package/@scalar/typebox
product
-
github.com
/scalar/typebox
product
-
vulncheck.com
/advisories/scalar-typebox-before-0.1.4-code-injection-via-typecompiler-schema-strings
third-party-advisory
Sources
- CVE List CVE-2026-133309
- NVD CVE-2026-133309
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.