Description
CSSOM through 0.5.0 contains a denial of service vulnerability in CSSStyleDeclaration.setProperty() that fails to validate reserved property names. Attackers can supply a stylesheet with a declaration named length to replace the internal counter and trigger excessive memory allocation during cssText serialization, causing process termination.
Metrics
CVSS 3.1 7.5/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HWeakness enumeration
Affected software
Source: the vendor's advisory (CNA). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| NV | CSSOM | <= 0.5.0 |
References
- https://github.com/NV/CSSOM
- https://github.com/NV/CSSOM/blob/00ec21868e12422581c81779135c2f1648441204/lib/CSSStyleDeclaration.js#L112-L124
- https://github.com/NV/CSSOM/blob/00ec21868e12422581c81779135c2f1648441204/lib/CSSStyleDeclaration.js#L41-L56
- https://github.com/NV/CSSOM/issues/119
- https://www.vulncheck.com/advisories/cssom-through-0.5.0-denial-of-service-via-length-property
- https://github.com/NV/CSSOM/issues/119
Timeline
- Published
- Sep 18, 2026
- Last modified
- Sep 22, 2026
- NVD status
- Awaiting Analysis