Skip to main content
← All vulnerabilities
CVE-2026-54639GHSA-VJ5C-M527-MPFF

Style Dictionary - Prototype Pollution in convertTokenData utility function

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.4.4
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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`.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • style-dictionary style-dictionary

    From 4.3.0 · fixed in 5.4.4

  • style-dictionarynpm

    From 4.3.0 · fixed in 5.4.4

References 4

GitHub · style-dictionary/style-dictionary