CVE-2026-133309
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().
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| scalar | typebox | {"startIncluding":"0.1.0","endExcluding":"0.1.4"} | 0.1.4 |
References
- https://github.com/scalar/typebox
- https://github.com/scalar/typebox/blob/v0.1.3/src/compiler/compiler.ts#L427
- https://github.com/scalar/typebox/commit/21d55f035a83868a3577be2142b9c9bbc125969b
- https://github.com/scalar/typebox/pull/5
- https://github.com/sinclairzx81/sinclair-typebox/security/advisories/GHSA-976x-prgx-qv35
- https://www.npmjs.com/package/@scalar/typebox
- https://www.vulncheck.com/advisories/scalar-typebox-before-0.1.4-code-injection-via-typecompiler-schema-strings
CWEs
CWE-94
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.