CVE-2025-57349

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.
References
Link Resource
https://github.com/messageformat/messageformat/issues/452 Issue Tracking Third Party Advisory
Configurations

Configuration 1 (hide)

cpe:2.3:a:openjsf:messageformat:*:*:*:*:*:*:*:*

History

17 Jun 2026, 09:43

Type Values Removed Values Added
Summary
  • (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 - Third Party Advisory, Issue Tracking () https://github.com/messageformat/messageformat/issues/452 - Issue Tracking, Third Party Advisory

17 Oct 2025, 14:49

Type Values Removed Values Added
CPE cpe:2.3:a:openjsf:messageformat:*:*:*:*:*:*:*:*
References () https://github.com/messageformat/messageformat/issues/452 - () https://github.com/messageformat/messageformat/issues/452 - Third Party Advisory, Issue Tracking
First Time Openjsf messageformat
Openjsf

29 Sep 2025, 18:15

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.5
CWE CWE-1321

24 Sep 2025, 19:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-09-24 19:15

Updated : 2026-06-17 09:43


NVD link : CVE-2025-57349

Mitre link : CVE-2025-57349

CVE.ORG link : CVE-2025-57349


JSON object : View

Products Affected

openjsf

  • messageformat
CWE
CWE-1321

Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')