Skip to content

CVE-2025-57348 node-cube vulnerable to prototype pollution

MediumCVSS 6.5 EPSS 0.41% PoC
Published
Updated
Exploit status
Proof-of-concept only
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

Description

The node-cube package (prior to version 5.0.0) contains a vulnerability in its handling of prototype chain initialization, which could allow an attacker to inject properties into the prototype of built-in objects. This issue, categorized under CWE-1321, arises from improper validation of user-supplied input in the package's resource initialization process. Successful exploitation may lead to denial of service or arbitrary code execution in affected environments. The vulnerability affects versions up to and including 5.0.0-beta.19, and no official fix has been released to date.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
node-cube < 5.0.0; = 5.0.0-beta0; = 5.0.0-beta1; = 5.0.0-beta2 +16 more 5.0.0 Fixed
npm node-cube(npm) <= 5.0.0-beta.19 after 5.0.0-beta.19 Fixed

Affected products

ProductAffected versionsFixed in
npm node-cube(npm) <= 5.0.0-beta.19 No fix listed
node-cube < 5.0.0 5.0.0
node-cube = 5.0.0-beta0 No fix listed
node-cube = 5.0.0-beta1 No fix listed
node-cube = 5.0.0-beta10 No fix listed
node-cube = 5.0.0-beta11 No fix listed
node-cube = 5.0.0-beta12 No fix listed
node-cube = 5.0.0-beta13 No fix listed
node-cube = 5.0.0-beta14 No fix listed
node-cube = 5.0.0-beta15 No fix listed
node-cube = 5.0.0-beta16 No fix listed
node-cube = 5.0.0-beta17 No fix listed
node-cube = 5.0.0-beta18 No fix listed
node-cube = 5.0.0-beta19 No fix listed
node-cube = 5.0.0-beta2 No fix listed
node-cube = 5.0.0-beta3 No fix listed
node-cube = 5.0.0-beta4 No fix listed
node-cube = 5.0.0-beta5 No fix listed
node-cube = 5.0.0-beta6 No fix listed
node-cube = 5.0.0-beta8 No fix listed
node-cube = 5.0.0-beta9 No fix listed

References