{"id":"CVE-2026-133309","aliases":["GHSA-976x-prgx-qv35"],"title":"@scalar/typebox before 0.1.4 Code Injection via TypeCompiler Schema Strings","originalDescription":"@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().","severity":{"cvss":8.5,"vector":"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","label":"high"},"exploitation":{"kev":null,"epss":{"score":0.00211,"percentile":0.11957},"exploitDb":null},"affected":[{"ecosystem":"vendor","name":"typebox","range":">=0.1.0, <0.1.4","fixed":"0.1.4"}],"references":[{"url":"https://github.com/scalar/typebox/pull/5","type":"patch"},{"url":"https://github.com/scalar/typebox/commit/21d55f035a83868a3577be2142b9c9bbc125969b","type":"patch"},{"url":"https://github.com/scalar/typebox/blob/v0.1.3/src/compiler/compiler.ts#L427","type":"technical-description"},{"url":"https://github.com/sinclairzx81/sinclair-typebox/security/advisories/GHSA-976x-prgx-qv35","type":"related"},{"url":"https://www.npmjs.com/package/@scalar/typebox","type":"product"},{"url":"https://github.com/scalar/typebox","type":"product"},{"url":"https://www.vulncheck.com/advisories/scalar-typebox-before-0.1.4-code-injection-via-typecompiler-schema-strings","type":"third-party-advisory"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/133xxx/CVE-2026-133309.json","type":"advisory"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-133309","type":"advisory"}],"sources":[{"name":"nvd","at":"2026-11-19T21:47:03.231Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-133309","license":"NVD terms of use","firstSeenAt":"2026-11-19T17:23:09.064Z"},{"name":"osv","at":"2026-11-19T19:02:39.542Z","url":"https://osv.dev/vulnerability/CVE-2026-133309","license":"CC-BY 4.0","firstSeenAt":"2026-11-19T18:29:31.989Z"},{"name":"cvelistV5","at":"2026-11-19T22:17:45.031Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-133309","license":"CVE Terms of Use","firstSeenAt":"2026-11-19T16:47:35.305Z"}],"firstSeenAt":"2026-11-19T16:47:35.305Z","publishedAt":"2026-11-19T16:32:28.508Z","modifiedAt":"2026-11-19T21:18:01.470Z"}