{"id":"CVE-2025-57353","aliases":["CVE-2025-57353","GHSA-6xv4-9cqp-92rh"],"related":[],"kind":"vulnerability","state":"published","title":"messageformat prototype pollution vulnerability","summary":"The Runtime components of messageformat package for Node.js before 3.0.2 contain a prototype pollution vulnerability. Due to insufficient validation of nested message keys during the processing of message data, an attacker can manipulate the prototype chain of JavaScript objects by providing specially crafted input. This can result in the injection of arbitrary properties into the Object.prototype, potentially leading to denial of service conditions or unexpected application behavior. The vulnerability allows attackers to alter the prototype of base objects, impacting all subsequent object instances throughout the application's lifecycle.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"The Runtime components of messageformat package for Node.js before 3.0.2 contain a prototype pollution vulnerability. Due to insufficient validation of nested message keys during the processing of message data, an attacker can manipulate the prototype chain of JavaScript objects by providing specially crafted input. This can result in the injection of arbitrary properties into the Object.prototype, potentially leading to denial of service conditions or unexpected application behavior. The vulnerability allows attackers to alter the prototype of base objects, impacting all subsequent object instances throughout the application's lifecycle.","source":"cvelist"},{"lang":"en","text":"The Runtime components of messageformat package for Node.js version 3.0.1 contain a prototype pollution vulnerability. Due to insufficient validation of nested message keys during the processing of message data, an attacker can manipulate the prototype chain of JavaScript objects by providing specially crafted input. This can result in the injection of arbitrary properties into the Object.prototype, potentially leading to denial of service conditions or unexpected application behavior. The vulnerability allows attackers to alter the prototype of base objects, impacting all subsequent object instances throughout the application's lifecycle. Version 3.0.2 contains a fix.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Los componentes de tiempo de ejecución del paquete messageformat para Node.js anteriores a la versión 3.0.1 contienen una vulnerabilidad de contaminación de prototipos. Debido a la validación insuficiente de claves de mensaje anidadas durante el procesamiento de datos de mensajes, un atacante puede manipular la cadena de prototipos de objetos JavaScript al proporcionar una entrada especialmente diseñada. Esto puede resultar en la inyección de propiedades arbitrarias en el Object.prototype, lo que podría llevar a condiciones de denegación de servicio o un comportamiento inesperado de la aplicación. La vulnerabilidad permite a los atacantes alterar el prototipo de objetos base, impactando todas las instancias de objetos subsiguientes a lo largo del ciclo de vida de la aplicación. Este problema permanece sin abordar en la última versión disponible.","source":"nvd"}],"published":"2025-09-24T00:00:00.000Z","modified":"2026-06-17T09:43:03.853Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-1321"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"3.0.1","status":"affected","fixed":"3.0.2"}],"ecosystem":"npm","package":"@messageformat/runtime","purl":"pkg:npm/%40messageformat/runtime","source":"ghsa"}],"references":[{"url":"https://github.com/messageformat/messageformat/issues/453","tags":["web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/VulnSageAgent/PoCs/tree/main/JavaScript/prototype-pollution/CVE-2025-57353","tags":["web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/messageformat/messageformat/pull/464","tags":["web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/messageformat/messageformat/commit/82cd10b40e3f922f990bbcf88a6d14b70c0a3ce0","tags":["web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/messageformat/messageformat/issues/453#issuecomment-3466959449","tags":["web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-57353","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/messageformat/messageformat","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-09-25T18:25:47.554Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-57353","url":"https://www.cve.org/CVERecord?id=CVE-2025-57353","licence":"CVE Terms of Use","modified":"2025-11-05T18:32:07.743Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-6xv4-9cqp-92rh","url":"https://github.com/advisories/GHSA-6xv4-9cqp-92rh","licence":"CC-BY-4.0","modified":"2025-10-31T15:12:38.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-57353","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-57353","licence":"Public domain","modified":"2026-06-17T09:43:03.853Z"}],"updatedAt":"2026-11-25T22:59:05.139Z","epss":{"score":0.00358,"percentile":0.31512,"date":"2026-12-01T12:00:22.000Z"}}