Advisory

GHSA-xfqm-j7pc-xrfc

Also known as: CVE-2025-57349

Summary

messageformat has a prototype pollution vulnerability

Details

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.

Severity

Low Basis: The source's own band: LOW

Dates

Published
2025-09-24 21:30 UTC
Modified
2025-09-25 17:12 UTC

Affected packages and fixes

messageformat

npm · All systems

Affected

  • introduced 0, fixed 3.0.0-beta.0 (semver)

Fixed versions

3.0.0-beta.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences