{"id":"UBUNTU-CVE-2026-133309","details":"@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().","modified":"2026-11-25T17:45:51Z","published":"2026-11-19T17:18:00Z","upstream":["CVE-2026-133309"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-133309"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-133309"},{"type":"REPORT","url":"https://github.com/scalar/typebox"},{"type":"REPORT","url":"https://github.com/scalar/typebox/blob/v0.1.3/src/compiler/compiler.ts#L427"},{"type":"REPORT","url":"https://github.com/scalar/typebox/commit/21d55f035a83868a3577be2142b9c9bbc125969b"},{"type":"REPORT","url":"https://github.com/scalar/typebox/pull/5"},{"type":"REPORT","url":"https://github.com/sinclairzx81/sinclair-typebox/security/advisories/GHSA-976x-prgx-qv35"},{"type":"REPORT","url":"https://www.npmjs.com/package/@scalar/typebox"},{"type":"REPORT","url":"https://www.vulncheck.com/advisories/scalar-typebox-before-0.1.4-code-injection-via-typecompiler-schema-strings"}],"affected":[{"package":{"name":"node-sinclair-typebox","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/node-sinclair-typebox?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.24.44-3"],"ecosystem_specific":{"binaries":[{"binary_name":"node-sinclair-typebox","binary_version":"0.24.44-3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-133309.json"}},{"package":{"name":"node-sinclair-typebox","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/node-sinclair-typebox?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.24.44-4","0.34.41-2"],"ecosystem_specific":{"binaries":[{"binary_name":"node-sinclair-typebox","binary_version":"0.34.41-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-133309.json"}},{"package":{"name":"node-sinclair-typebox","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/node-sinclair-typebox?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.24.44-3","0.24.44-4"],"ecosystem_specific":{"binaries":[{"binary_name":"node-sinclair-typebox","binary_version":"0.24.44-4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-133309.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"CNA"},{"type":"CVSS_V4","score":"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","source":"CNA"},{"type":"Ubuntu","score":"medium","source":"SELF"}]}