# CVE-2025-57353: messageformat prototype pollution vulnerability

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.3
- **CVSS:** 5.3 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: Low; Integrity impact: None; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.74% (percentile 51, 2026-11-26)
- **CWE:** CWE-1321
- **Aliases:** GHSA-6xv4-9cqp-92rh
- **Published:** 2025-09-24T00:00:00.000Z
- **Modified:** 2026-06-17T09:43:03.853Z

## Who should check

- Projects that depend on npm package @messageformat/runtime (\>= 3.0.1, \< 3.0.2)
- Anyone running n/a (versions: see the vendor advisory)

## Description

The Runtime components of messageformat package for Node.js before 3.0.2 contain a prototype pollution vulnerability. Due to insufficient validation of nested message keys during the processing of message data, an attacker can manipulate the prototype chain of JavaScript objects by providing specially crafted input. This can result in the injection of arbitrary properties into the Object.prototype, potentially leading to denial of service conditions or unexpected application behavior. The vulnerability allows attackers to alter the prototype of base objects, impacting all subsequent object instances throughout the application's lifecycle.

## Affected and fixed versions

- npm `@messageformat/runtime`: affected \>= 3.0.1, \< 3.0.2; fixed 3.0.2 (osv)
- n/a: see vendor advisory (nvd)

## Mitigation

- Upgrade @messageformat/runtime to 3.0.2 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-57353. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-57353.md
Affected: @messageformat/runtime >= 3.0.1, < 3.0.2
Fixed in: 3.0.2

Steps:
1. Search this machine and project for @messageformat/runtime (npm), n/a: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-57353 being exploited?

There is no confirmed exploitation: CVE-2025-57353 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.74% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-57353?

Medium: CVSS 5.3 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2025-57353?

@messageformat/runtime \>= 3.0.1, \< 3.0.2.

### Is there a fix for CVE-2025-57353?

Yes. Fixed in 3.0.2. Upgrade @messageformat/runtime to 3.0.2 or later.

### How do I check if I'm affected by CVE-2025-57353?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2025-57353>
- patch: <https://github.com/messageformat/messageformat/pull/464>
- patch: <https://github.com/messageformat/messageformat/commit/82cd10b40e3f922f990bbcf88a6d14b70c0a3ce0>
- other: <https://github.com/messageformat/messageformat/issues/453>
- other: <https://github.com/VulnSageAgent/PoCs/tree/main/JavaScript/prototype-pollution/CVE-2025-57353>
- other: <https://github.com/messageformat/messageformat/issues/453#issuecomment-3466959449>
- other: <https://github.com/messageformat/messageformat>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-57353>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-6xv4-9cqp-92rh> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2025-57353> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-57353>
