Answer in brief
CVE-2026-54639 records a High severity (CVSS 8.8) secret exfiltration vulnerability in Style Dictionary - Prototype Pollution in convertTokenData utility function. The source record does not mark it as known exploited. 1 affected package is mapped in the feed.
Answer in brief
CVE-2026-54639 records a High severity (CVSS 8.8) secret exfiltration vulnerability in Style Dictionary - Prototype Pollution in convertTokenData utility function. The source record does not mark it as known exploited. 1 affected package is mapped in the feed.
Update style-dictionary to 5.4.4 if you use the affected versions. Test the change in a non-production environment first.
Local check
hol-guard supply-chain scanSecret Exfiltration describes the vulnerability class recorded for this advisory. The current record does not mark CVE-2026-54639 as known exploited; continue to monitor the source for status changes. The feed includes package mappings that can be checked against lockfiles and deployed manifests.
| Package | Affected range | Fixed version |
|---|---|---|
| style-dictionarynpm | >=4.3.0,<5.4.4 | 5.4.4 |
Fixed versions are reported by the source feed; confirm compatibility before updating.
Reported by GitHub Security Advisories (ghsa).
CVE-2026-54639 records a High severity (CVSS 8.8) secret exfiltration vulnerability in Style Dictionary - Prototype Pollution in convertTokenData utility function. The source record does not mark it as known exploited. 1 affected package is mapped in the feed.
The source record does not mark it as known exploited.
Check lockfiles and deployed manifests for style-dictionary.
HOL Guard can help your team review package activity against supported protection paths.
Explore HOL GuardUpdate style-dictionary to 5.4.4 if you use the affected versions. Test the change in a non-production environment first.
Local check
hol-guard supply-chain scanSecret Exfiltration describes the vulnerability class recorded for this advisory. The current record does not mark CVE-2026-54639 as known exploited; continue to monitor the source for status changes. The feed includes package mappings that can be checked against lockfiles and deployed manifests.
| Package | Affected range | Fixed version |
|---|---|---|
| style-dictionarynpm | >=4.3.0,<5.4.4 | 5.4.4 |
Fixed versions are reported by the source feed; confirm compatibility before updating.
Reported by GitHub Security Advisories (ghsa).
CVE-2026-54639 records a High severity (CVSS 8.8) secret exfiltration vulnerability in Style Dictionary - Prototype Pollution in convertTokenData utility function. The source record does not mark it as known exploited. 1 affected package is mapped in the feed.
The source record does not mark it as known exploited.
Check lockfiles and deployed manifests for style-dictionary.
HOL Guard can help your team review package activity against supported protection paths.
Explore HOL Guard### Impact Prototype pollution. A malicious user can create a token array `[{ key: '{__proto__.foo}', value: 'malicious' }]`, when processed by `convertTokenData()` utility function, it will pollute the Object.prototype globally where `{}.foo` will equal `{ key: '{__proto__.foo}', value: 'malicious' }`. This has been confirmed with a test/reproduction. You are impacted when: - direct usage of `convertTokenData(tokens, { output: 'object' });` - indirect usage, via using Expand API https://styledictionary.com/reference/config/#expand. If your expand config deems it necessary to run expand (this means, if NOT: 1) set to false, 2) all subprops set to false, or 3) undefined), then we sync the `sd.tokens` property with the `sd.tokenMap` property by converting tokenData map back to object. - indirect usage via SD's transform lifecycle. Once your tokens are transformed, we also have to sync the `sd.tokens` property with the `sd.tokenMap` property. 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. ### Patches A patch has been published: version `5.4.4`. Any version within range `>=4.3.0 <5.4.4` contains this vulnerability, see commit hash 209085d for when the vulnerability was added. See PR with repro + fix https://github.com/style-dictionary/style-dictionary/pull/1702 ### Workarounds A workaround is to sanitize your token data first. Whether using DTCG format or old Style Dictionary format, you have to check the token data object recursively for any object keys that include `__proto__`. You can do this with the StyleDictionary instance too, just ensure that expand has to be set to false to prevent the second method of this vulnerability from happening. ```js const sd = new StyleDictionary({ expand: false }); if (sd.allTokens.some(tok => tok.key.includes('__proto__')) { throw new Error('Found malicious token key, attempting to do prototype pollution.') } ```
### Impact Prototype pollution. A malicious user can create a token array `[{ key: '{__proto__.foo}', value: 'malicious' }]`, when processed by `convertTokenData()` utility function, it will pollute the Object.prototype globally where `{}.foo` will equal `{ key: '{__proto__.foo}', value: 'malicious' }`. This has been confirmed with a test/reproduction. You are impacted when: - direct usage of `convertTokenData(tokens, { output: 'object' });` - indirect usage, via using Expand API https://styledictionary.com/reference/config/#expand. If your expand config deems it necessary to run expand (this means, if NOT: 1) set to false, 2) all subprops set to false, or 3) undefined), then we sync the `sd.tokens` property with the `sd.tokenMap` property by converting tokenData map back to object. - indirect usage via SD's transform lifecycle. Once your tokens are transformed, we also have to sync the `sd.tokens` property with the `sd.tokenMap` property. 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. ### Patches A patch has been published: version `5.4.4`. Any version within range `>=4.3.0 <5.4.4` contains this vulnerability, see commit hash 209085d for when the vulnerability was added. See PR with repro + fix https://github.com/style-dictionary/style-dictionary/pull/1702 ### Workarounds A workaround is to sanitize your token data first. Whether using DTCG format or old Style Dictionary format, you have to check the token data object recursively for any object keys that include `__proto__`. You can do this with the StyleDictionary instance too, just ensure that expand has to be set to false to prevent the second method of this vulnerability from happening. ```js const sd = new StyleDictionary({ expand: false }); if (sd.allTokens.some(tok => tok.key.includes('__proto__')) { throw new Error('Found malicious token key, attempting to do prototype pollution.') } ```