Skip to content
High 8.8 Web Application

Vulnerability in style-dictionary

CVE-2026-54639 First seen on SecPulse

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 に更新してください。

What is the problem

Style Dictionaryのプロトタイプ汚染の脆弱性

Affected scope

バージョン4.3.0から5.4.4未満

Severity

NodeJSサーバーアプリケーションで高い影響

How to fix

バージョン5.4.4にアップデートする

Workaround

トークンデータを事前に消毒する

Detection

トークンデータ内の__proto__を含むオブジェクトキーを再帰的にチェック

Affected packages

PackageAffected → Fixed
npmstyle-dictionary
≥ 4.3.0, < 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

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details