Security mailing lists by PureSourceCode

CVE-2025-57349

HIGH 7.5CVSS 3.1

messageformat has a prototype pollution vulnerability

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.

Published
24 Sep 2025
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Analyzed
Weakness
CWE-1321
Also known as
GHSA-xfqm-j7pc-xrfc
Sources
NVDJSONOSV GHSA-xfqm-j7pc-xrfcJSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:U
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD openjsf messageformat
cpe:2.3:a:openjsf:messageformat:*:*:*:*:*:*:*:*
< 2.3.0 2.3.0
OSV npm messageformat < 3.0.0-beta.0 3.0.0-beta.0

References

History

  • 25 Nov 2026 20:59 UTC · NVD: first stored (published 24 Sep 2025)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 24 Sep 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.