Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSupply token array with `{__proto__.key}` entry
-
DeliveryToken data reaches `convertTokenData()` unvalidated
-
ExploitPath-split assignment mutates `Object.prototype`
-
ExecutionGlobal prototype polluted in Node.js runtime
-
PersistDownstream property checks return attacker-controlled values
-
ImpactAuthentication bypass or arbitrary code execution via gadget chain
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V3 - Web Frontend Security Prototype pollution prevention
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that attacker-controlled data reaches one of three code paths: (1) direct invocation of |
| Impact | The provided CVSS vector (AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H = 8.8) models the build-tool scenario where local write access to token files is prerequisite. However, SSVC Technical Impact is rated 'total', reflecting that prototype pollution can fully compromise a Node.js runtime - enabling property injection into every object, bypassing authentication checks, or enabling remote code execution via gadget chains in server frameworks like Express. EPSS is extremely low at 0.13% (3rd percentile), and SSVC exploitation is 'none', meaning no known in-the-wild use despite a public POC. The risk profile is bimodal: negligible for build-only pipelines with controlled token repositories; elevated for server applications where end-users can submit arbitrary token data that flows through convertTokenData without prior sanitization. A potential metric tension exists - the provided AV:L understates server-side exposure while S:C/C:H/I:H/A:H overstates the impact for the dominant build-tool use case. Defenders should triage by whether untrusted token data can reach the affected code paths. |
| Exploit ScenarioDerived | A threat actor targeting a Node.js design-token service that accepts user-submitted token files crafts an input containing |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 16, 2026
Prototype pollution in Style Dictionary's convertTokenData() utility function allows an attacker who can supply token data with a __proto__-keyed entry to corrupt Object.prototype globally, affecting all downstream object operations in the same runtime. All deployments using versions 4.3.0 through 5.4.3 on npm are affected, with severity scaling sharply by context: Node.js server applications ingesting untrusted token data face high-impact exploitation, while build-time-only pipelines with controlled token sources face low residual risk. A publicly available proof-of-concept exists (GitHub Gist), though SSVC signals exploitation activity as none at time of analysis.
RemediationAI
Upgrade to Style Dictionary v5.4.4, which patches lib/utils/convertTokenData.js to skip any token key containing __proto__ before the path-splitting assignment. The fix PR and commit are at https://github.com/style-dictionary/style-dictionary/pull/1702 and commit 23b5e8d. If upgrading is not immediately possible, the only confirmed workaround is to recursively scan all token data objects for any key containing __proto__ and reject or strip them before passing to the library. For users of the Expand API, additionally set expand: false in the StyleDictionary configuration to block the second exploitation path, noting this disables token expansion functionality. For Node.js server deployments ingesting untrusted token data, consider schema validation at the API boundary that rejects keys matching /(__proto__|constructor|prototype)/ before any processing.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in npm
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Style Dictionary (CPE: cpe:2.3:a:style-dictionary:style-dictionary) is a Node.js build system for cross-platform design tokens distributed via npm. The vulnerability resides in lib/utils/convertTokenData.js, specifically in the path-splitting logic (lines L40-L50) that converts a token array entry's key string into a nested object path via property assignment. When a token key such as {__proto__.a} is processed, the function dissects it into obj['__proto__']['a'] = value, mutating Object.prototype globally rather than setting a property on a normal object. This is a textbook CWE-1321 (Improperly Controlled Modification of Object Prototype Attributes) instance introduced in v4.3.0. The pollution is triggered through three surfaces: direct calls to convertTokenData(tokens, { output: 'object' }), the Expand API (when expand is not explicitly disabled), and the transform lifecycle sync of sd.tokens with sd.tokenMap.
Know when Style Dictionary gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
AV:N reflects highest-risk server deployments accepting untrusted token data; AC:H because exploitation depends on that specific deployment pattern; PR:L for typical authenticated token-submission workflows.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
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__.
Blast Radius
ecosystem impact- 1 npm packages depend on style-dictionary (1 direct, 0 indirect)
Ecosystem-wide dependent count for version 4.3.0.
Executive ViewAI
Style Dictionary versions 4.3.0-5.4.3 are vulnerable to prototype pollution attacks through malicious token data, potentially compromising application availability and integrity in Node.js server deployments. Organizations using this design token library for runtime token ingestion face immediate risk of service disruption. Build-time-only pipelines with controlled token sources have significantly lower risk exposure.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
EUVD-2026-38640
GHSA-vj5c-m527-mpff
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB