# CVE-2025-57349: messageformat has a prototype pollution vulnerability

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.40%, higher than 36% of CVEs (2026-12-01)
- Published: 2025-09-24T00:00:00.000Z
- Modified: 2026-06-17T09:43:03.253Z
- Also known as: GHSA-xfqm-j7pc-xrfc
- Weaknesses: CWE-1321
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- messageformat (npm): before 3.0.0-beta.0
- openjsf messageformat: before 2.3.0

## Every score

- CISA-ADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:4.0 Low `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`

## References

- <https://github.com/messageformat/messageformat/issues/452> (issue-tracking, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-57349> (advisory)
- <https://github.com/messageformat/messageformat> (package)

## Sources

- CVE List: [CVE-2025-57349](https://www.cve.org/CVERecord?id=CVE-2025-57349), CVE Terms of Use, modified 2025-09-29
- GitHub Advisory Database: [GHSA-xfqm-j7pc-xrfc](https://github.com/advisories/GHSA-xfqm-j7pc-xrfc), CC-BY-4.0, modified 2025-09-25
- NVD: [CVE-2025-57349](https://nvd.nist.gov/vuln/detail/CVE-2025-57349), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-57349 · Whole record: https://cve.day/CVE-2025-57349.json · Rebuilt by cve.day 2026-11-25T22:59:05.143Z
