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.
Affected versions and mitigation
From the CVE record, GitHub Security Advisories and the vendor's references.Affected
- < 3.0.0-beta.0
Fixed in 3.0.0-beta.0
from GitHub Security Advisory GHSA-xfqm-j7pc-xrfc
Mitigation
Upgrade messageformat to 3.0.0-beta.0 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.