{"id":"CVE-2026-133309","published":"2026-11-19T16:32:28Z","modified":"2026-11-19T20:42:05Z","title":"@scalar/typebox before 0.1.4 Code Injection via TypeCompiler Schema Strings","vendor":"scalar","product":"typebox","tier":"tail","description":{"text":"@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().","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00211,"percentile":0.11498,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://github.com/scalar/typebox/pull/5","tags":["patch","issue-tracking"]},{"url":"https://github.com/scalar/typebox/commit/21d55f035a83868a3577be2142b9c9bbc125969b","tags":["patch"]},{"url":"https://github.com/scalar/typebox/blob/v0.1.3/src/compiler/compiler.ts#L427","tags":["technical-description"]},{"url":"https://github.com/sinclairzx81/sinclair-typebox/security/advisories/GHSA-976x-prgx-qv35","tags":["related","third-party-advisory"]},{"url":"https://www.npmjs.com/package/@scalar/typebox","tags":["product"]},{"url":"https://github.com/scalar/typebox","tags":["product"]},{"url":"https://www.vulncheck.com/advisories/scalar-typebox-before-0.1.4-code-injection-via-typecompiler-schema-strings","tags":["third-party-advisory"]}],"priority":{"score":7.8,"factors":[{"name":"EPSS percentile","points":2.3},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"scalar","affectedVersions":[{"vendor":"scalar","product":"typebox","versions":[">= 0.1.0, < 0.1.4"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-11-19T20:28:20.898407Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-130387","exploited":false,"provenance":"source"}}