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.
Severity (CVSS)
| Base score | 8.7 |
|---|---|
| Severity | High |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-915 — Improperly Controlled Modification of Dynamically-Determined Object Attributes
Affected products
| Vendor | Product | Versions |
|---|---|---|
| NV | CSSOM | 0 to <=0.5.0 |
References
- https://github.com/NV/CSSOM/issues/119 (issue-tracking)
- https://github.com/NV/CSSOM (product)
- https://github.com/NV/CSSOM/blob/00ec21868e12422581c81779135c2f1648441204/lib/CSSStyleDeclaration.js#L41-L56 (technical-description)
- https://github.com/NV/CSSOM/blob/00ec21868e12422581c81779135c2f1648441204/lib/CSSStyleDeclaration.js#L112-L124 (technical-description)
- https://www.vulncheck.com/advisories/cssom-through-0.5.0-denial-of-service-via-length-property (third-party-advisory)
Generated from the official CVE List on 19 Sep 2026 07:08 UTC.