Security mailing lists by PureSourceCode

CVE-2025-57348

MEDIUM 6.5CVSS 3.1

node-cube vulnerable to prototype pollution

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.

Published
24 Sep 2025
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Analyzed
Weakness
CWE-1321
Also known as
GHSA-8v65-5fw5-23wj
Sources
NVDJSONOSV GHSA-8v65-5fw5-23wjJSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD node-cube node-cube
cpe:2.3:a:node-cube:node-cube:*:*:*:*:*:node.js:*:*
< 5.0.0 5.0.0
NVD node-cube node-cube
cpe:2.3:a:node-cube:node-cube:5.0.0:beta0:*:*:*:node.js:*:*
= 5.0.0
NVD node-cube node-cube
cpe:2.3:a:node-cube:node-cube:5.0.0:beta1:*:*:*:node.js:*:*
= 5.0.0
NVD node-cube node-cube
cpe:2.3:a:node-cube:node-cube:5.0.0:beta10:*:*:*:node.js:*:*
= 5.0.0
NVD node-cube node-cube
cpe:2.3:a:node-cube:node-cube:5.0.0:beta11:*:*:*:node.js:*:*
= 5.0.0
NVD node-cube node-cube
cpe:2.3:a:node-cube:node-cube:5.0.0:beta12:*:*:*:node.js:*:*
= 5.0.0
NVD node-cube node-cube
cpe:2.3:a:node-cube:node-cube:5.0.0:beta13:*:*:*:node.js:*:*
= 5.0.0
NVD node-cube node-cube
cpe:2.3:a:node-cube:node-cube:5.0.0:beta14:*:*:*:node.js:*:*
= 5.0.0
NVD node-cube node-cube
cpe:2.3:a:node-cube:node-cube:5.0.0:beta15:*:*:*:node.js:*:*
= 5.0.0
NVD node-cube node-cube
cpe:2.3:a:node-cube:node-cube:5.0.0:beta16:*:*:*:node.js:*:*
= 5.0.0
NVD node-cube node-cube
cpe:2.3:a:node-cube:node-cube:5.0.0:beta17:*:*:*:node.js:*:*
= 5.0.0
NVD node-cube node-cube
cpe:2.3:a:node-cube:node-cube:5.0.0:beta18:*:*:*:node.js:*:*
= 5.0.0
NVD node-cube node-cube
cpe:2.3:a:node-cube:node-cube:5.0.0:beta19:*:*:*:node.js:*:*
= 5.0.0
NVD node-cube node-cube
cpe:2.3:a:node-cube:node-cube:5.0.0:beta2:*:*:*:node.js:*:*
= 5.0.0
NVD node-cube node-cube
cpe:2.3:a:node-cube:node-cube:5.0.0:beta3:*:*:*:node.js:*:*
= 5.0.0
NVD node-cube node-cube
cpe:2.3:a:node-cube:node-cube:5.0.0:beta4:*:*:*:node.js:*:*
= 5.0.0
NVD node-cube node-cube
cpe:2.3:a:node-cube:node-cube:5.0.0:beta5:*:*:*:node.js:*:*
= 5.0.0
NVD node-cube node-cube
cpe:2.3:a:node-cube:node-cube:5.0.0:beta6:*:*:*:node.js:*:*
= 5.0.0
NVD node-cube node-cube
cpe:2.3:a:node-cube:node-cube:5.0.0:beta8:*:*:*:node.js:*:*
= 5.0.0
NVD node-cube node-cube
cpe:2.3:a:node-cube:node-cube:5.0.0:beta9:*:*:*:node.js:*:*
= 5.0.0
OSV npm node-cube <= 5.0.0-beta.19

References

History

  • 25 Nov 2026 20:59 UTC · NVD: first stored (published 24 Sep 2025)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 24 Sep 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.