CVE-2026-133309
@scalar/typebox before 0.1.4 contains a code injection …
@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().
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/scalar/typebox
- github.com/scalar/typebox/blob/v0.1.3/src/compiler/compiler.ts#L427
- github.com/scalar/typebox/commit/21d55f035a83868a3577be2142b9c9bbc125969b
- github.com/scalar/typebox/pull/5
- github.com/sinclairzx81/sinclair-typebox/security/advisories/GHSA-976x-prgx-qv35
- www.npmjs.com/package/@scalar/typebox
- www.vulncheck.com/advisories/scalar-typebox-before-0.1.4-code-injection-via-typecompiler-s
- nvd.nist.gov/vuln/detail/CVE-2026-133309
- cve.org/CVERecord?id=CVE-2026-133309
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.