GHSA-7j2x-32w6-p43p
HIGHCVE-2026-33418The ensureSize() function in @dicebear/converter used a regex-based approach to rewrite SVG width/height attributes, capping them at 2048px to prevent denial of service. This size capping could be bypassed by crafting SVG input that causes the regex to match a non-functional occurrence of <svg before the actual SVG root element. When the SVG is subsequently rendered via @resvg/resvg-js on the Node
- Affected
- <= 9.4.1
- Fixed in
- 9.4.2
- Weakness
- CWE-185
- Published
- 2026-03-20
- Source
- github