Vulnerabilities/

@stablelib/cbor: Prototype poisoning via `__proto__` map keys in CBOR decoding

Severity:
High

Description

@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.

Recommendation

Update the @stablelib/cbor package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
@stablelib/cbor
Anything's wrong? Let us know Last updated on April 07, 2026