Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

@dicebear/core

Latest version: v11.2.0

Overview

Last scanned
2 Dec 2026
Published
2 Dec 2026
npm package Publisher: floriankoerner
10,194 Stars
447 Forks
12 Versions
3.8M Downloads
TypeScript Repo language

Scan summary

@dicebear/core was last scanned on 2 Dec 2026 at version 11.2.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 12 versions; the latest 4 were published within 2 days (1 and 2 Dec 2026).
  • Findings: No rules fired in version 11.2.0.
  • Downloads: 3,800,589 downloads.

Versions

12 versions published
Versions and the rules that fired in each
VersionPublishedStatus
11.2.0 LATEST 2 Dec 2026 No rules fired
11.2.0-rc.1 2 Dec 2026 No rules fired
11.1.0 1 Dec 2026 No rules fired
11.1.0-rc.2 1 Dec 2026 Not shown
11.0.0 25 Nov 2026 Not shown

No rules fired in 11.2.0

Findings

Findings for v11.2.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 11.2.0; other versions have their own rules, not their own score.

Known vulnerabilities

2 CVEs · last 20 Aug 2026

0 CRITICAL 0 HIGH 2 MEDIUM 0 LOW

Versions

  • ≥ 9.4.3
  • ≥ 9.4.1, < 9.4.3 1 MEDIUM
  • ≥ 9.0.0, < 9.4.1 2 MEDIUM
  • ≥ 8.0.3, < 9.0.0 1 MEDIUM
  • ≥ 8.0.0, < 8.0.3 2 MEDIUM
  • ≥ 7.1.4, < 8.0.0 1 MEDIUM
  • ≥ 7.0.0, < 7.1.4 2 MEDIUM
  • ≥ 6.1.4, < 7.0.0 1 MEDIUM
  • ≥ 6.0.0, < 6.1.4 2 MEDIUM
  • ≥ 5.4.4, < 6.0.0 1 MEDIUM
Show all 12 version ranges
  • ≥ 5.0.0, < 5.4.4 2 MEDIUM
  • < 5.0.0 1 MEDIUM

Vulnerabilities

  • CVE-2026-68921 Medium 20 Aug 2026 DiceBear: SVG injection via the unescaped rotate option in @dicebear/core (and fontSize/fontWeight in @dicebear/initials) Fixed in 9.4.3
  • CVE-2026-33311 Medium 24 Mar 2026 SVG Injection via Unsanitized Options in @dicebear/core and @dicebear/initials Fixed in 5.4.4, 6.1.4, 7.1.4, 8.0.3, 9.4.1

README

The publisher’s own README, as collected from the registry.

JavaScript implementation of the DiceBear avatar library. Generates deterministic SVG avatars from style definitions and a seed string.

DiceBear is available for multiple languages. All implementations share the same PRNG and rendering pipeline, producing identical SVG output for the same seed, style, and options, regardless of the language used.

Playground | Documentation

Installation

npm install @dicebear/core @dicebear/styles

@dicebear/styles holds the definitions of the avatar styles. Leave it out when you bring your own definitions.

Requires Node.js 22+ or any modern browser.

Usage

import { Avatar, Style } from '@dicebear/core';

// From a style definition (here from the @dicebear/styles package)
import definition from '@dicebear/styles/lorelei.json' with { type: 'json' };

const avatar = new Avatar(new Style(definition), {
  seed: 'John',
  size: 128,
});

avatar.toString(); // SVG string
avatar.toDataUri(); // data:image/svg+xml;charset=utf-8,...
Using the Style class
import { Style, Avatar } from '@dicebear/core';

const style = new Style(definition);

// Create multiple avatars from the same style
const avatar1 = new Avatar(style, { seed: 'Alice' });
const avatar2 = new Avatar(style, { seed: 'Bob' });

Smaller bundle without validation

About half of the package is the two schema validators. @dicebear/core/lite exports the same API without them, about 14 kB instead of 30 kB gzipped.

Warning: The validation is what keeps unsafe content such as scripts, event handlers and external references out of the SVG, and what turns a wrong option into an error instead of odd output. The lite entry renders whatever it gets. Use it only for definitions and options you wrote or generated yourself, never for anything from an upload, a URL or another source you do not control.

import { Style, Avatar } from '@dicebear/core/lite';

Sponsors

Advertisement: Many thanks to our sponsors who provide us with free or discounted products.

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm @dicebear/core

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

Frame 2085668439 (1)
Group 1261154229