CVE-2025-57348
Node-cube vulnerability
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.
Affected products
Node-cube. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Node-cube runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/VulnSageAgent/PoCs/tree/main/JavaScript/prototype-pollution/CVE-2025-57348 · Third Party Advisory
- github.com/node-cube/cube/issues/153 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2025-57348
- github.com/advisories/GHSA-8v65-5fw5-23wj
- nvd.nist.gov/vuln/detail/CVE-2025-57348
- cve.org/CVERecord?id=CVE-2025-57348
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.