CVE Explorer
CVE-2026-33418
DiceBear is an avatar library for designers and developers. Prior to version 9.4.2, the `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.js
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"dicebear","vendor":"dicebear","versions":[{"status":"affected","version":"< 9.4.2"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:4e6def57acc4f393d0a7d4760dbc29fc9c29517f0105370fab1fa82ef84665ca · sha256:055fa8ef9478a0f1… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:4e6def57acc4f393d0a7d4760dbc29fc9c29517f0105370fab1fa82ef84665ca · sha256:055fa8ef9478a0f1… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-185","description":"CWE-185: Incorrect Regular Expression","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:4e6def57acc4f393d0a7d4760dbc29fc9c29517f0105370fab1fa82ef84665ca · sha256:055fa8ef9478a0f1… · /containers/cna/problemTypes/0/descriptions/0
Source references
1 source assertion{"name":"https://github.com/dicebear/dicebear/security/advisories/GHSA-7j2x-32w6-p43p","tags":["x_refsource_CONFIRM"],"url":"https://github.com/dicebear/dicebear/security/advisories/GHSA-7j2x-32w6-p43p"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:4e6def57acc4f393d0a7d4760dbc29fc9c29517f0105370fab1fa82ef84665ca · sha256:055fa8ef9478a0f1… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.