CVE-2021-33587
JavaScript vulnerability analysis and mitigation

Overview

CVE-2021-33587 affects the css-what package versions 4.0.0 through 5.0.0 for Node.js. The vulnerability was discovered and disclosed on May 28, 2021. The issue specifically relates to attribute parsing functionality that does not ensure Linear Time Complexity relative to the size of the input (NVD, MITRE).

Technical details

The vulnerability has been assigned a CVSS 3.1 Base Score of 7.5 (High) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. The attack vector is network-based, with low attack complexity, requiring no privileges or user interaction, and has an unchanged scope. While there are no impacts to confidentiality or integrity, the availability impact is rated as high (NetApp).

Impact

When successfully exploited, this vulnerability could lead to a Denial of Service (DoS) condition through non-linear time complexity in attribute parsing. The vulnerability affects the availability of the system while leaving confidentiality and integrity intact (NetApp).

Mitigation and workarounds

The vulnerability has been fixed in css-what version 5.0.1. The fix includes hand-rolled attribute parsing and slightly more permissive attribute values to ensure linear parsing time. Various distributions have also released patched versions: Ubuntu has fixed versions for multiple releases, and Debian has addressed it in version 2.1.0-1+deb10u1 for Debian 10 (buster) (GitHub, Debian LTS).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-71476HIGH8.7
  • JavaScript logoJavaScript
  • @nx/gcs-cache
NoYesAug 06, 2026
CVE-2026-71437MEDIUM6.5
  • JavaScript logoJavaScript
  • mermaid
NoYesAug 06, 2026
CVE-2026-71439MEDIUM5.3
  • JavaScript logoJavaScript
  • mermaid
NoYesAug 06, 2026
CVE-2026-71498MEDIUM5.1
  • JavaScript logoJavaScript
  • re2
NoYesAug 06, 2026
CVE-2026-71438LOW2.4
  • JavaScript logoJavaScript
  • mermaid
NoYesAug 06, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management