{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-133309","id":"CVE-2026-133309","title":"@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().","descriptionLong":"@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().","published":"2026-11-19T16:32:28.508Z","updated":"2026-11-19T16:32:28.508Z","reserved":"2026-11-19T16:21:24.008Z","status":"PUBLISHED","rejected":false,"assigner":"VulnCheck","metric":{"version":"4.0","score":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","rating":"high","source":"VulnCheck"},"metrics":[{"version":"4.0","score":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","rating":"high","source":"VulnCheck"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"VulnCheck"}],"rating":"high","products":["scalar typebox"],"affectedProducts":[{"vendor":"scalar","product":"typebox","defaultStatus":"unaffected","versions":[{"version":"0.1.0","status":"affected","versionType":"semver","lessThan":"0.1.4"}],"platforms":[]}],"packages":[],"cwes":["CWE-94"],"aliases":[],"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"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":null,"epssPercentile":null,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-133309","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-133309","ok":false,"note":"not found"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-133309","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-133309","ok":false,"note":"no score yet"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}