CVE-2025-57349

High

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.

SeverityHigh
CVSS7.5
Exploit probability—
ProductOpenjsf Messageformat
PublishedSep 24, 2025
First seenSep 24, 2025

How to fix

Update
  • openjsf messageformat2.3.0 or later
  • messageformat3.0.0-beta.0 or later

Affected products

ProductAffected versionsFixed in
openjsf messageformatv < 2.3.02.3.0
messageformatnpmv < 3.0.0-beta.03.0.0-beta.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.