Skip to content
DayZeroHub
High Not yet writtenCVSS 8.5CVE-2026-133309

CVE-2026-133309: @scalar/typebox before 0.1.4 Code Injection via TypeCompiler Schema Strings

scalar typebox

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-133309: high-severity vulnerability (CVSS 8.5) in scalar typebox.

What happened

Original description from the source: @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().

Why it matters

High severity, CVSS 8.5.

Affected products and versions

scalar typebox >= 0.1.0, < 0.1.4

ProductVersionsFixed in
scalar typebox>= 0.1.0, < 0.1.4—

Action recommended by the source

See the official references for the fix or mitigation.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-94

Relevant change history

  1. Published

    Preliminary advisory published.