7.5high
messageformat has a prototype pollution vulnerability
- Severity
- 7.5high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.40% (higher than 36% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-xfqm-j7pc-xrfc
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| messageformat (npm) | before 3.0.0-beta.0 | GitHub Advisory Database |
| openjsf messageformat | before 2.3.0 | NVD |
All scores
| CISA-ADP | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | low CVSS:4.0 | 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 |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
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.
NVD (es)
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.
References
| https://github.com/messageformat/messageformat/issues/452 | issue-tracking, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2025-57349 | advisory | |
| https://github.com/messageformat/messageformat | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-57349 changed 2025-09-29 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-xfqm-j7pc-xrfc changed 2025-09-25 | CC-BY-4.0 |
| NVD | CVE-2025-57349 changed 2026-06-17 | Public domain |