CVE-2025-59144
Full vulnerability record from the local CVENow database.
Description
debug is a JavaScript debugging utility. On 8 September 2025, the npm publishing account for debug was taken over after a phishing attack. Version 4.4.2 was published, functionally identical to the previous patch version, but with a malware payload added attempting to redirect cryptocurrency transactions to the attacker's own addresses from within browser environments. Local environments, server environments, command line applications, etc. are not affected. If the package was used in a browser context (e.g. a direct <script> inclusion, or via a bundling tool such as Babel, Rollup, Vite, Next.js, etc.) there is a chance the malware still exists and such bundles will need to be rebuilt. The malware seemingly only targets cryptocurrency transactions and wallets such as MetaMask. npm removed the offending package from the registry over the course of the day on 8 September, preventing further downloads from npm proper. On 13 September, the package owner published new patch versions to help cache-bust those using private registries who might still have the compromised version cached. Users should upgrade to the latest patch version, completely remove their node_modules directory, clean their package manager's global cache, and rebuild any browser bundles from scratch. Those operating private registries or registry mirrors should purge the offending versions from any caches. This issue has been resolved in 4.4.3.
View original CVE JSON
{
"id": "CVE-2025-59144",
"sourceIdentifier": "[email protected]",
"published": "2025-09-15T20:15:39.073",
"lastModified": "2026-10-19T17:10:00.173",
"vulnStatus": "Deferred",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "debug is a JavaScript debugging utility. On 8 September 2025, the npm publishing account for debug was taken over after a phishing attack. Version 4.4.2 was published, functionally identical to the previous patch version, but with a malware payload added attempting to redirect cryptocurrency transactions to the attacker's own addresses from within browser environments. Local environments, server environments, command line applications, etc. are not affected. If the package was used in a browser context (e.g. a direct <script> inclusion, or via a bundling tool such as Babel, Rollup, Vite, Next.js, etc.) there is a chance the malware still exists and such bundles will need to be rebuilt. The malware seemingly only targets cryptocurrency transactions and wallets such as MetaMask. npm removed the offending package from the registry over the course of the day on 8 September, preventing further downloads from npm proper. On 13 September, the package owner published new patch versions to help cache-bust those using private registries who might still have the compromised version cached. Users should upgrade to the latest patch version, completely remove their node_modules directory, clean their package manager's global cache, and rebuild any browser bundles from scratch. Those operating private registries or registry mirrors should purge the offending versions from any caches. This issue has been resolved in 4.4.3."
},
{
"lang": "es",
"value": "debug es una utilidad de depuración de JavaScript. El 8 de septiembre de 2025, la cuenta de publicación de npm para debug fue comprometida después de un ataque de phishing. La versión 4.4.2 fue publicada, funcionalmente idéntica a la versión de parche anterior, pero con una carga útil de malware añadida que intentaba redirigir transacciones de criptomonedas a las propias direcciones del atacante desde entornos de navegador. Los entornos locales, entornos de servidor, aplicaciones de línea de comandos, etc. no están afectados. Si el paquete fue utilizado en un contexto de navegador (p. ej., una inclusión directa de <script>, o a través de una herramienta de empaquetado como Babel, Rollup, Vite, Next.js, etc.) existe la posibilidad de que el malware aún exista y dichos paquetes deberán ser reconstruidos. El malware aparentemente solo apunta a transacciones de criptomonedas y billeteras como MetaMask. npm eliminó el paquete ofensivo del registro a lo largo del día el 8 de septiembre, impidiendo descargas adicionales desde npm propiamente dicho. El 13 de septiembre, el propietario del paquete publicó nuevas versiones de parche para ayudar a invalidar la caché de aquellos que usan registros privados y que aún podrían tener la versión comprometida en caché. Los usuarios deben actualizar a la última versión de parche, eliminar completamente su directorio node_modules, limpiar la caché global de su gestor de paquetes y reconstruir cualquier paquete de navegador desde cero. Aquellos que operan registros privados o espejos de registro deben purgar las versiones ofensivas de cualquier caché. Este problema ha sido resuelto en 4.4.3."
}
],
"affected": [
{
"source": "[email protected]",
"affectedData": [
{
"vendor": "debug-js",
"product": "debug",
"versions": [
{
"version": "= 4.4.2",
"status": "affected"
}
]
}
]
}
],
"metrics": {
"cvssMetricV40": [
{
"source": "[email protected]",
"type": "Secondary",
"cvssData": {
"version": "4.0",
"vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N/E:A/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:Red",
"baseScore": 8.8,
"baseSeverity": "HIGH",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"attackRequirements": "NONE",
"privilegesRequired": "NONE",
"userInteraction": "NONE",
"vulnConfidentialityImpact": "LOW",
"vulnIntegrityImpact": "HIGH",
"vulnAvailabilityImpact": "NONE",
"subConfidentialityImpact": "NONE",
"subIntegrityImpact": "NONE",
"subAvailabilityImpact": "NONE",
"exploitMaturity": "ATTACKED",
"confidentialityRequirement": "NOT_DEFINED",
"integrityRequirement": "NOT_DEFINED",
"availabilityRequirement": "NOT_DEFINED",
"modifiedAttackVector": "NOT_DEFINED",
"modifiedAttackComplexity": "NOT_DEFINED",
"modifiedAttackRequirements": "NOT_DEFINED",
"modifiedPrivilegesRequired": "NOT_DEFINED",
"modifiedUserInteraction": "NOT_DEFINED",
"modifiedVulnConfidentialityImpact": "NOT_DEFINED",
"modifiedVulnIntegrityImpact": "NOT_DEFINED",
"modifiedVulnAvailabilityImpact": "NOT_DEFINED",
"modifiedSubConfidentialityImpact": "NOT_DEFINED",
"modifiedSubIntegrityImpact": "NOT_DEFINED",
"modifiedSubAvailabilityImpact": "NOT_DEFINED",
"Safety": "NOT_DEFINED",
"Automatable": "NOT_DEFINED",
"Recovery": "NOT_DEFINED",
"valueDensity": "NOT_DEFINED",
"vulnerabilityResponseEffort": "NOT_DEFINED",
"providerUrgency": "RED"
}
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"timestamp": "2025-09-15T19:46:32.027005Z",
"id": "CVE-2025-59144",
"options": [
{
"exploitation": "none"
},
{
"automatable": "yes"
},
{
"technicalImpact": "partial"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
]
},
"weaknesses": [
{
"source": "[email protected]",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-506"
}
]
}
],
"references": [
{
"url": "https://github.com/debug-js/debug/issues/1005",
"source": "[email protected]"
},
{
"url": "https://github.com/debug-js/debug/security/advisories/GHSA-4x49-vf9v-38px",
"source": "[email protected]"
},
{
"url": "https://socket.dev/blog/npm-author-qix-compromised-in-major-supply-chain-attack",
"source": "[email protected]"
},
{
"url": "https://www.aikido.dev/blog/npm-debug-and-chalk-packages-compromised",
"source": "[email protected]"
},
{
"url": "https://www.ox.security/blog/npm-packages-compromised",
"source": "[email protected]"
},
{
"url": "http://www.openwall.com/lists/oss-security/2026/09/23/8",
"source": "af854a3a-2127-422b-91ae-364da2661108"
}
]
}