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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| NV | CSSOM | ≤ 0.5.0 | — |
References
- GitHub Issue #119 issue-tracking
- https://github.com/NV/CSSOM product
- setProperty() writing a declaration name over the internal length field technical-description
- cssText getter using the replaced counter as an array bound technical-description
- VulnCheck Advisory: CSSOM through 0.5.0 Denial of Service via length Property third-party-advisory