npm package report

Is @stablelib/cbor safe?

2 known vulnerabilities, worst severity HIGH.

cvss
7.5

how bad it is if exploited, out of 10

epss
not scored

chance of exploitation in the next 30 days

xyz score
3.3

CyberXYZ composite, out of 10

fig. 01 — GHSA-w48f-fwg7-ww6p, the advisory selected below

// advisories

GHSA-w48f-fwg7-ww6p

HIGH

@stablelib/cbor decodes CBOR maps into ordinary JavaScript objects and assigns attacker-controlled keys directly onto those objects. A CBOR map key named proto therefore changes the prototype of the decoded object instead of becoming an ordinary data property.

Affected
< 2.0.3, >=0, <2.0.3
Fixed in
2.0.3
Weakness
CWE-1321
Published
2026-04-04
Source
github

GHSAreferencereference


// ai model usage

Tracked for PyPI packages. HuggingFace models declare Python dependencies, so npm packages are not covered.


Checked 2026-09-22 at 03:27 UTC. The most recent advisory here was published 2026-04-04. Updated continuously from NVD, GHSA, OSV and CNA feeds.

Think a verdict here is wrong? Tell us — we respond within 2 business days.
Is @stablelib/cbor safe? npm package security report | CyberXYZ