@scalar/typebox 0.1.4未満に任意のJavaScriptを実行される脆弱性
Summary
@scalar/typeboxのTypeCompilerに、細工したスキーマ文字列でNode.jsの実行環境上の任意のJavaScriptを実行されるコードインジェクションの脆弱性が見つかりました。影響を受けるのは0.1.0以上0.1.4未満のバージョンで、0.1.4が修正版です。0.1.4以上へ更新してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
@scalar/typeboxのTypeCompilerに、細工したスキーマ文字列でNode.jsの実行環境上の任意のJavaScriptを実行されるコードインジェクションの脆弱性が見つかりました。影響を受けるのは0.1.0以上0.1.4未満のバージョンで、0.1.4が修正版です。0.1.4以上へ更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| scalartypebox |
≥ 0.1.0, < 0.1.4→ 0.1.4 |
0.1.4 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Ubuntu UBUNTU-CVE-2026-133309 node-sinclair-typebox No fixed version in this record
Original description The description as published by 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().
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web npmjs.com
- web github.com
- web vulncheck.com
- web nvd.nist.gov
- web github.com