AploSec / Disclosures / CVE-2026-144955
Style Dictionary 4.3.0 before 5.7.1 Prototype Pollution via convertTokenData
CVE-2026-144955 · published 2026-12-04
In plain words: this type of bug lets someone change parts of the application's data they should not be able to set (prototype pollution or mass assignment). A fixed release is listed.
Summary
CVE-2026-144955 affects style-dictionary (npm) >= 4.3.0, < 5.7.1: Prototype Pollution via convertTokenData (CWE-1321). Fixed in 5.7.1. CVSS 4.0 base score 6.3 (Medium), assigned by VulnCheck. Published 2026-12-04 by VulnCheck. Credit: Zachariah Mithani (AploSec).
Style Dictionary 4.3.0 before 5.7.1 contains a prototype pollution vulnerability in convertTokenData that allows attackers to modify Object.prototype by supplying nested token keys. Attackers can submit a token key descending through an existing leaf token, such as a.__proto__.polluted, to pollute global prototypes, altering application logic or causing denial of service.
Evidence
Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.
Remediation
Upgrade style-dictionary to 5.7.1 or later. Releases in the affected range (>= 4.3.0, < 5.7.1) are vulnerable. See the linked advisory for details on affected release lines.
Timeline
- 2026-12-04 CVE published
References
- Referencehttps://github.com/style-dictionary/style-dictionary/security/advisories/GHSA-m4pr-rgwp-x36r
- VulnCheck advisoryhttps://www.vulncheck.com/advisories/style-dictionary-4.3.0-before-5.7.1-prototype-pollution-via-converttokendata
- Fix commithttps://github.com/style-dictionary/style-dictionary/commit/c3c37e19547d275f390875d29e911c75385ea83c
- Releasehttps://github.com/style-dictionary/style-dictionary/releases/tag/v5.7.1
- Vulnerable codehttps://github.com/style-dictionary/style-dictionary/blob/v5.7.0/lib/utils/convertTokenData.js#L32-L51
- CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-144955
- NVD recordhttps://nvd.nist.gov/vuln/detail/CVE-2026-144955
- Severity
- Medium 6.3CVSS 4.0, scored by VulnCheck in the CVE record
- Package
- style-dictionary
- Ecosystem
- npm
- Affected
- >= 4.3.0, < 5.7.1
- Fixed
- 5.7.1
- Weakness
- CWE-1321
- CNA
- VulnCheck
- Credit
- Zachariah Mithani (AploSec)finder