CVE-2026-133309
published high CVSS 4.0 · 8.5@scalar/typebox before 0.1.4 Code Injection via TypeCompiler Schema Strings
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| scalar | — | typebox0.1.0 to < 0.1.4 · Other versions: unaffected | Affected | Not stated | VulnCheck |
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().
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.5 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.8 | high | VulnCheck · cna | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| scalar | typebox | 0.1.0 to < 0.1.4 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-94 Improper Control of Generation of Code ('Code Injection')
References
7- https://github.com/scalar/typebox
- https://github.com/scalar/typebox/blob/v0.1.3/src/compiler/compiler.ts#L427
- Patch Commit https://github.com/scalar/typebox/commit/21d55f035a83868a3577be2142b9c9bbc125969b
- Fix Pull Request https://github.com/scalar/typebox/pull/5
- GitHub Security Advisory (GHSA-976x-prgx-qv35) https://github.com/sinclairzx81/sinclair-typebox/security/advisories/GHSA-976x-prgx-qv35
- https://www.npmjs.com/package/@scalar/typebox
- VulnCheck Advisory: @scalar/typebox before 0.1.4 Code Injection via TypeCompiler Schema Strings https://www.vulncheck.com/advisories/scalar-typebox-before-0.1.4-code-injection-via-typecompiler-schema-strings
Provider assertions
2VulnCheck · cna
@scalar/typebox before 0.1.4 Code Injection via TypeCompiler Schema Strings
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 55fc1d832192ba0948626b861a06202d380a439938ba9245f618cb69ea16ec21
- Ingested
- 19 Nov 2026, 20:46:49 UTC
- Source record
- Official CVE record