Intel

AIKIDO-2026-580810

style-dictionary is vulnerable to Prototype Pollution

Prototype PollutionGHSA-xmr7-549p-98w3 Published Aug 12, 2026

84

High Risk

This Affects:

JSstyle-dictionary
5.5.0 - 5.5.0
Fixed in 5.5.1
Are you affected? Scan for Free

TL;DR

The convertTokenData utility builds a nested object from token keys when called with object output. It splits each token key on dots and descends into the growing object without rejecting inherited property names such as constructor or prototype. A token key beginning with constructor.prototype therefore reaches Object.prototype, letting externally influenced token data mutate global prototype state in the Node.js process and impacting integrity and availability. The fix constructs the output on a null-prototype object so traversal can no longer escape into Object.prototype.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you convert externally influenced token data into object output.

Background info

style-dictionary is vulnerable to Prototype Pollution in versions 5.5.0 - 5.5.0.

How to fix this

Upgrade the style-dictionary library to the patch version.