style-dictionary

Ecosystem: npm

Downloads:

Vulnerabilities from the last (months)
  • 0CriticalAffects 0 versions
  • 1HighAffects 1 version
  • 0MediumAffects 0 versions
  • 0ModerateAffects 0 versions
  • 0LowAffects 0 versions
Severity distribution (all time)
1vulnerability
  • Critical0 (0.0%)
  • High1 (100.0%)
  • Medium0 (0.0%)
  • Moderate0 (0.0%)
  • Low0 (0.0%)

Monthly breakdown

  • 1 vulnerabilities
    • Critical: 0
    • High: 1
    • Medium: 0
    • Moderate: 0
    • Low: 0

Vulnerabilities (1)

Known vulnerabilities affecting style-dictionary, based on data from OSV.

Vulnerabilities affecting style-dictionary
IDSeveritySummaryAffected versionsPublishedSource
GHSA-vj5c-m527-mpffHighStyle Dictionary - Prototype Pollution in convertTokenData utility function### 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 (thi
  • >= 4.3.0, < 5.4.4
GitHub (opens in a new tab)
  • GHSA-vj5c-m527-mpffHigh
    Style Dictionary - Prototype Pollution in convertTokenData utility function
    • >= 4.3.0, < 5.4.4

    ### 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 (thi

    CVE: CVE-2026-54639

Showing 1-1 of 1 vulnerabilities