@scalar/typebox before 0.1.4 Code Injection via TypeCompiler Schema Strings
scalar typebox
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| scalar typebox |
| No fix yet |
Original 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().
From the CVE record · VulnCheck