CVE-2026-133309
@scalar/typebox before 0.1.4 Code Injection via TypeCompiler Schema Strings
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().
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.mvnpm.at.scalar » typeboxpreliminary | < 21d55f035a83868a3577be2142b9c9bbc125969b>= 0.1.0, < 0.1.4 | 21d55f035a83868a3577be2142b9c9bbc125969b, 0.1.4 |
Blast radius
0% of the dependent artifacts (0) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 65 |
| 2 hops | 392 |
Most used dependents
- org.mvnpm.at.scalar » workspace-store8 usages
- org.mvnpm.at.scalar » oas-utils5 usages
- org.mvnpm.at.scalar » api-client2 usages
- org.mvnpm.at.scalar » sidebar2 usages
- org.mvnpm.at.scalar » blocks2 usages
- org.mvnpm.at.scalar » openapi-to-markdown2 usages
- org.mvnpm.at.scalar » agent-chat1 usages
- org.mvnpm.at.scalar » asyncapi-to-markdown1 usages
- org.mvnpm.at.scalar » api-reference0 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
- Webhttps://www.npmjs.com/package/@scalar/typebox
- Advisoryhttps://github.com/CVEProject/cvelistV5/tree/main/cves/2026/133xxx/CVE-2026-133309.json
- Advisoryhttps://github.com/sinclairzx81/sinclair-typebox/security/advisories/GHSA-976x-prgx-qv35
- Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2026-133309
- Advisoryhttps://www.vulncheck.com/advisories/scalar-typebox-before-0.1.4-code-injection-via-typecompiler-schema-strings
- Fixhttps://github.com/scalar/typebox/commit/21d55f035a83868a3577be2142b9c9bbc125969b
- Fixhttps://github.com/scalar/typebox/pull/5
- Packagehttps://github.com/scalar/typebox
- Articlehttps://github.com/scalar/typebox/blob/v0.1.3/src/compiler/compiler.ts#L427
