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.
Style Dictionary の 4.3.0 以降 5.4.4 未満に、プロトタイプ汚染の脆弱性(CVE-2026-54639)が見つかりました。Node.js サーバーなどに組み込んで使う場合は影響が大きくなるおそれがあります。修正版の 5.4.4 に更新してください。
Style Dictionaryのプロトタイプ汚染の脆弱性
バージョン4.3.0から5.4.4未満
NodeJSサーバーアプリケーションで高い影響
バージョン5.4.4にアップデートする
トークンデータを事前に消毒する
トークンデータ内の__proto__を含むオブジェクトキーを再帰的にチェック
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| npmstyle-dictionary |
≥ 4.3.0, < 5.4.4→ 5.4.4 |
5.4.4 |
Original description The description as published by the source.
Style Dictionary, a build system for creating cross-platform styles, has a prototype pollution vulnerability starting in version 4.3.0 and prior to version 5.4.4. Impact users have: direct usage of convertTokenData(tokens, { output: 'object' });; indirect usage, via using Expand API; and/or indirect usage via SD's transform lifecycle. Impact is high for this when style-dictionary is used as an integration in a NodeJS server application. Impact is moderate for when style-dictionary is used as an integration in a Web application. Impact is low for most common cases where the user of style-dictionary also maintains the tokens, and access is limited via read/write access to the repository/workflows where it is used. A patch has been published in version 5.4.4. The only known workaround is to sanitize token data first. Whether using DTCG format or old Style Dictionary format, check the token data object recursively for any object keys that include __proto__.
Source: NIST National Vulnerability Database NVD GitHub Advisory
References
- advisory github.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- patch github.com
- patch github.com
- web github.com
- web github.com