7.5High

CVE-2025-57349

openjsf messageformat Published: (1 year ago)

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.

Weakness (CWE): CWE-1321

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
openjsf messageformat < 2.3.0

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:openjsf:messageformat:*:*:*:*:*:*:*:* < 2.3.0