Description
The package css-what before 2.1.3 are vulnerable to Regular Expression Denial of Service (ReDoS) due to the usage of insecure regular expression in the re_attr variable of index.js. The exploitation of this vulnerability could be triggered via the parse function.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | css-what | unspecified – < 2.1.3 | 2.1.3 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | node-css-what | 5.0.1-1 | — |
| Debian 13 | node-css-what | 5.0.1-1 | — |
| Debian 12 | node-css-what | 5.0.1-1 | — |
| Debian 10 | node-css-what | 2.1.0-1+deb10u1 | DLA-3350-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | node-css-what | No fix yet | — |
| Ubuntu 26.04 LTS | node-css-what | No fix yet | — |
| Ubuntu 25.10 | node-css-what | No fix yet | — |
| Ubuntu 24.04 LTS | node-css-what | No fix yet | — |
| Ubuntu 18.04 LTS | node-css-what | 2.1.0-1+deb10u1build0.18.04.1 | USN-6065-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | node-css-what | 3.2.1-1ubuntu0.1~esm1 | USN-6065-1 |
| Ubuntu Pro 16.04 LTS | node-css-what | 2.1.0-1ubuntu0.16.04.1~esm1 | USN-6065-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | css-what | < 2.1.3 | 2.1.3 | GHSA-p28h-cc7q-c4fg |
Advisories 2
- USN-6065-1 node-css-what vulnerabilities Ubuntu Security Notices (USN) · Jun 25, 2026
- DLA-3350-1 node-css-what - security update Debian Security (DSA / DLA) · Mar 9, 2026