messageformat has a prototype pollution vulnerability
Low severity
GitHub Reviewed
Published
Sep 24, 2025
to the GitHub Advisory Database
•
Updated Sep 25, 2025
Description
Published by the National Vulnerability Database
Sep 24, 2025
Published to the GitHub Advisory Database
Sep 24, 2025
Reviewed
Sep 25, 2025
Last updated
Sep 25, 2025
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