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.
Metrics
Affected Vendors & Products
References
Link | Providers |
---|---|
https://github.com/messageformat/messageformat/issues/452 |
![]() ![]() |
History
Mon, 29 Sep 2025 18:15:00 +0000
Type | Values Removed | Values Added |
---|---|---|
Weaknesses | CWE-1321 | |
Metrics |
cvssV3_1
|
Wed, 24 Sep 2025 19:15:00 +0000
Type | Values Removed | Values Added |
---|---|---|
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. | |
References |
|

Status: PUBLISHED
Assigner: mitre
Published:
Updated: 2025-09-29T17:59:15.337Z
Reserved: 2025-08-17T00:00:00.000Z
Link: CVE-2025-57349

Updated: 2025-09-29T17:58:42.382Z

Status : Awaiting Analysis
Published: 2025-09-24T19:15:40.233
Modified: 2025-09-29T18:15:33.430
Link: CVE-2025-57349

No data.

No data.