Style Dictionary - Prototype Pollution in convertTokenData utility function
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
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__`.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| style-dictionary | style-dictionary | 4.3.0 to before 5.4.4 | 5.4.4 | Patch available | CNA |
| — | style-dictionary (npm) | 4.3.0 to before 5.4.4 | 5.4.4 | Patch available | GHSA-vj5c-m527-mpff |
- style-dictionary Vendorstyle-dictionary Affected 4.3.0 to before 5.4.4 Fixed in 5.4.4 Patch available CNA
- style-dictionary (npm) Vendor— Affected 4.3.0 to before 5.4.4 Fixed in 5.4.4 Patch available GHSA-vj5c-m527-mpff
Remediation
- Fix · CNA style-dictionary (style-dictionary) Fixed in 5.4.4
- Fix · GHSA-vj5c-m527-mpff style-dictionary (npm) Fixed in 5.4.4 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-54639
- 2026-10-03 Alias added: GHSA-vj5c-m527-mpff
References
Other 6
- https://github.com/style-dictionary/style-dictionary/security/advisories/GHSA-vj5c-m527-mpff
- https://github.com/style-dictionary/style-dictionary/pull/1702
- https://github.com/style-dictionary/style-dictionary/commit/209085d9782cfc0783c4d983f3f1bb2c515954ec
- https://github.com/style-dictionary/style-dictionary/commit/23b5e8dda143441f0d6b8e2b4222e2da98058bc5
- https://github.com/style-dictionary/style-dictionary
- https://github.com/style-dictionary/style-dictionary/releases/tag/v5.4.4
Sources
- CVE-2026-54639 · CVE Program
- CVE-2026-54639 · NVD
- FIRST EPSS
- GHSA-vj5c-m527-mpff · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences