CVE 8.8 HIGH

Style Dictionary – Prototype Pollution in convertTokenData utility function_CVE-2026-54639

8.8 / 10
HIGH
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Description

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

AI Analysis

Prototype pollution vulnerability in convertTokenData utility function

Basic Information

ID CVE-2026-54639
Source GitHub_M
Published Jun 24, 2026 at 00:17

Affected Product

Vendor style-dictionary
Product style-dictionary
Version >= 4.3.0, < 5.4.4
Affected Versions style-dictionary style-dictionary >= 4.3.0, < 5.4.4

CWE Classification

AI Assessment

AI Score 8.8 / 10
AI Severity High
Vendor Style Dictionary
Product style-dictionary
Version 4.3.0 to 5.4.4

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.