Skip to content

Prevent unbounded allocation from CSS lengths

Choose a tag to compare

@AlbertWeichselbraun AlbertWeichselbraun released this 29 Sep 17:53
· 22 commits to master since this release

Fixes a denial-of-service issue where excessively large CSS length values in HTML style attributes could cause get_text() or get_annotated_text() to perform an unbounded string allocation (GHSA-4wxf-43cv-cfxx).

Thanks to @NotAFlightRisk for reporting this issue.