{"id":"CVE-2025-57349","aliases":["CVE-2025-57349","GHSA-xfqm-j7pc-xrfc"],"related":[],"kind":"vulnerability","state":"published","title":"messageformat has a prototype pollution vulnerability","summary":"The messageformat package, an implementation of the Unicode MessageFormat 2 specification for JavaScript, is vulnerable to prototype pollution due to improper handling of message key paths in versions prior to 2.3.0. The flaw arises when processing nested message keys containing special characters (e.g., __proto__ ), which can lead to unintended modification of the JavaScript Object prototype. This vulnerability may allow a remote attacker to inject properties into the global object prototype via specially crafted message input, potentially causing denial of service or other undefined behaviors in applications using the affected component.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"The messageformat package, an implementation of the Unicode MessageFormat 2 specification for JavaScript, is vulnerable to prototype pollution due to improper handling of message key paths in versions prior to 2.3.0. The flaw arises when processing nested message keys containing special characters (e.g., __proto__ ), which can lead to unintended modification of the JavaScript Object prototype. This vulnerability may allow a remote attacker to inject properties into the global object prototype via specially crafted message input, potentially causing denial of service or other undefined behaviors in applications using the affected component.","source":"cvelist"},{"lang":"es","text":"El paquete messageformat, una implementación de la especificación Unicode MessageFormat 2 para JavaScript, es vulnerable a la Contaminación de Prototipos debido a un manejo inadecuado de las rutas de claves de mensajes en versiones anteriores a la 2.3.0. La falla surge al procesar claves de mensajes anidadas que contienen caracteres especiales (p. ej., __proto__), lo que puede llevar a una modificación no intencionada del prototipo de objeto de JavaScript. Esta vulnerabilidad puede permitir a un atacante remoto inyectar propiedades en el prototipo de objeto global a través de una entrada de mensaje especialmente diseñada, lo que podría causar una denegación de servicio u otros comportamientos indefinidos en aplicaciones que utilizan el componente afectado.","source":"nvd"}],"published":"2025-09-24T00:00:00.000Z","modified":"2026-06-17T09:43:03.253Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:U","rating":"LOW"}],"cwes":["CWE-1321"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.0.0-beta.0"}],"ecosystem":"npm","package":"messageformat","purl":"pkg:npm/messageformat","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2.3.0"}],"vendor":"openjsf","product":"messageformat","cpe":"cpe:2.3:a:openjsf:messageformat:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/messageformat/messageformat/issues/452","tags":["issue-tracking","third-party-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-57349","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/messageformat/messageformat","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2025-09-29T17:57:28.851Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-57349","url":"https://www.cve.org/CVERecord?id=CVE-2025-57349","licence":"CVE Terms of Use","modified":"2025-09-29T17:59:15.337Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-xfqm-j7pc-xrfc","url":"https://github.com/advisories/GHSA-xfqm-j7pc-xrfc","licence":"CC-BY-4.0","modified":"2025-09-25T17:12:19.133Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-57349","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-57349","licence":"Public domain","modified":"2026-06-17T09:43:03.253Z"}],"updatedAt":"2026-11-25T22:59:05.143Z","epss":{"score":0.00402,"percentile":0.36588,"date":"2026-12-01T12:00:22.000Z"}}