{"id":"CVE-2026-133309","aliases":["CVE-2026-133309"],"related":[],"kind":"vulnerability","state":"published","title":"@scalar/typebox before 0.1.4 Code Injection via TypeCompiler Schema Strings","summary":"@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().","summarySource":"cvelist","descriptions":[{"lang":"en","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().","source":"cvelist"}],"published":"2026-11-19T16:32:28.508Z","modified":"2026-11-19T21:18:01.470Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":8.5,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":8.5,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-94"],"affected":[{"ranges":[{"type":"semver","introduced":"0.1.0","fixed":"0.1.4","status":"affected"}],"vendor":"scalar","product":"typebox","repo":"https://github.com/scalar/typebox","source":"cvelist"}],"references":[{"url":"https://github.com/scalar/typebox/pull/5","tags":["issue-tracking","patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/scalar/typebox/commit/21d55f035a83868a3577be2142b9c9bbc125969b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/scalar/typebox/blob/v0.1.3/src/compiler/compiler.ts#L427","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://github.com/sinclairzx81/sinclair-typebox/security/advisories/GHSA-976x-prgx-qv35","tags":["related","third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://www.npmjs.com/package/@scalar/typebox","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://github.com/scalar/typebox","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/scalar-typebox-before-0.1.4-code-injection-via-typecompiler-schema-strings","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Mohd Absar Ansari","hanspagel"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-11-19T20:28:20.898Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-133309","url":"https://www.cve.org/CVERecord?id=CVE-2026-133309","licence":"CVE Terms of Use","modified":"2026-11-19T20:42:05.314Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-133309","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-133309","licence":"Public domain","modified":"2026-11-19T21:18:01.470Z"}],"updatedAt":"2026-11-25T22:59:52.147Z","epss":{"score":0.00211,"percentile":0.11952,"date":"2026-12-01T12:00:22.000Z"}}