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
Advisories
Source | ID | Title |
---|---|---|
![]() |
EUVD-2025-31065 | 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. |
![]() |
GHSA-xfqm-j7pc-xrfc | messageformat has a prototype pollution vulnerability |
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
Link | Providers |
---|---|
https://github.com/messageformat/messageformat/issues/452 |
![]() ![]() |
History
Fri, 17 Oct 2025 15:00:00 +0000
Type | Values Removed | Values Added |
---|---|---|
First Time appeared |
Openjsf
Openjsf messageformat |
|
CPEs | cpe:2.3:a:openjsf:messageformat:*:*:*:*:*:*:*:* | |
Vendors & Products |
Openjsf
Openjsf messageformat |
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 : Analyzed
Published: 2025-09-24T19:15:40.233
Modified: 2025-10-17T14:49:25.293
Link: CVE-2025-57349

No data.

No data.