CVE-2025-57348
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.
How to fix
- node-cube node-cube5.0.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| node-cube node-cube | v < 5.0.0, 5.0.0 | 5.0.0 |
| node-cubenpm | v ≤ 5.0.0-beta.19 | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.