Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. node-cube
  4. ›
  5. CVE-2025-57348

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

September 24, 2025 (updated September 25, 2025)

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.

References

  • github.com/VulnSageAgent/PoCs/tree/main/JavaScript/prototype-pollution/CVE-2025-57348
  • github.com/advisories/GHSA-8v65-5fw5-23wj
  • github.com/node-cube/cube
  • github.com/node-cube/cube/issues/153
  • nvd.nist.gov/vuln/detail/CVE-2025-57348

Code Behaviors & Features

Detect and mitigate CVE-2025-57348 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 5.0.0-beta.19

Solution

Unfortunately, there is no solution available yet.

Weakness

  • CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

Source file

npm/node-cube/CVE-2025-57348.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Mon, 29 Sep 2025 00:18:59 +0000.