Advisories

Style Dictionary 4.3.0 before 5.7.1 Prototype Pollution via convertTokenData

Go back
Severity
medium
Date
Affecting
  • style-dictionary >= 4.3.0, < 5.7.1

CWE
  • CWE-1321 Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
CVSS
6.3
CVSS V4 Vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N
Credit
Zachariah Mithani (AploSec)
Description
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.

Ready to get Started?

Explore VulnCheck, a next-generation Cyber Threat Intelligence platform, which provides exploit and vulnerability intelligence to help you prioritize and remediate vulnerabilities that matter.
  • Vulnerability Prioritization
    Prioritize vulnerabilities that matter based on the threat landscape and defer vulnerabilities that don't.
  • Early Warning System
    Real-time alerting of changes in the vulnerability landscape so that you can take action before the attacks start.