CVE-2025-57349
Last modified
CVE-2025-57349 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 0.37% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Openjsf | Messageformat | < 2.3.0 |
References
- https://github.com/messageformat/messageformat/issues/452Issue Tracking, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-57349?
How severe is CVE-2025-57349?
How do I fix CVE-2025-57349?
Are you affected by CVE-2025-57349?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
