# CVE-2026-133309: @scalar/typebox before 0.1.4 Code Injection via TypeCompiler Schema Strings

- Severity: High 8.5 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2026-11-19T16:32:28.508Z
- Modified: 2026-11-19T21:18:01.470Z
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: 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().

(As written by CVE List.)

## Affected

- scalar typebox: from 0.1.0 before 0.1.4

## Every score

- VulnCheck: CVSS:4.0 8.5 High `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`
- VulnCheck: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/scalar/typebox/pull/5> (issue-tracking, patch)
- <https://github.com/scalar/typebox/commit/21d55f035a83868a3577be2142b9c9bbc125969b> (patch)
- <https://github.com/scalar/typebox/blob/v0.1.3/src/compiler/compiler.ts#L427> (technical-description)
- <https://github.com/sinclairzx81/sinclair-typebox/security/advisories/GHSA-976x-prgx-qv35> (related, third-party-advisory)
- <https://www.npmjs.com/package/@scalar/typebox> (product)
- <https://github.com/scalar/typebox> (product)
- <https://www.vulncheck.com/advisories/scalar-typebox-before-0.1.4-code-injection-via-typecompiler-schema-strings> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-133309](https://www.cve.org/CVERecord?id=CVE-2026-133309), CVE Terms of Use, modified 2026-11-19
- NVD: [CVE-2026-133309](https://nvd.nist.gov/vuln/detail/CVE-2026-133309), Public domain, modified 2026-11-19

---

Page: https://cve.day/CVE-2026-133309 · Whole record: https://cve.day/CVE-2026-133309.json · Rebuilt by cve.day 2026-11-25T22:59:52.147Z
