SCA: security update for @dicebear/converter (GHSA-7j2x-32w6-p43p)

high Tenable Cloud Security Plugin ID 439088

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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 code path, it renders
at the attacker-specified dimensions, potentially causing out-of-memory crashes. In version 9.4.2, the
regex-based approach has been replaced with XML-aware processing using `fast-xml-parser` to correctly
identify and modify the SVG root element's attributes. Additionally, a `fitTo` constraint has been added
to the `renderAsync` call as defense-in-depth, ensuring the rendered output is always bounded regardless
of SVG content. (CVE-2026-33418)

Solution

Update the @dicebear/converter library and its related packages to version 9.4.2 or later.

See Also

https://github.com/advisories/GHSA-7j2x-32w6-p43p

Plugin Details

Severity: High

ID: 439088

Version: Revision 1.8

Type: Local

Family: SCA Checks

Published: 3/21/2026

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 5.7

Percentile: 96.44

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:C

CVSS Score Source: CVE-2026-33418

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 3/20/2026

Vulnerability Publication Date: 3/20/2026

Reference Information

CVE: CVE-2026-33418

cwe: CWE-185