Home / CVE-2025-57351
CVE-2025-57351: is it exploited, and which versions of ts-fns are affected and fixed?
CVE-2025-57351 is a prototype pollution vulnerability in ts-fns. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 17:09 UTC). Affected: ts-fns through 13.1.3 (GitHub advisory GHSA-g7wq-wggw-vmhg). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (6.5, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:09 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:17 UTC.
What is CVE-2025-57351?
A prototype pollution vulnerability exists in the ts-fns package versions prior to 13.0.7, where insufficient validation of user-provided keys in the assign function allows attackers to manipulate the Object.prototype chain. By leveraging this flaw, adversaries may inject arbitrary properties into the global object's prototype, potentially leading to application crashes, unexpected code execution behaviors, or bypasses of security-critical validation logic dependent on prototype integrity. The vulnerability stems from improper handling of deep property assignment operations within the library's public API functions. This issue remains unaddressed in the latest available version.
From the CVE record by mitre, last updated September 25, 2025, 18:53 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | ts-fns | <= 13.1.3 | none listed | GHSA-g7wq-wggw-vmhg |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated September 25, 2025. Summary: ts-fns has prototype pollution vulnerability.
How severe is CVE-2025-57351?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L | CISA-ADP |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-57351 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, September 25, 2025)
- EPSS
- 0.43% probability of exploitation activity in the next 30 days, percentile 39.1 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-1321 Improperly Controlled Modification of Object Prototype Attributes
Where are the vendor advisories and references?
- https://github.com/tangshuang/ts-fns/issues/36
- https://github.com/VulnSageAgent/PoCs/tree/main/JavaScript/prototype-pollution/CVE-2025-57351
When was it published, and where is the official record?
- Reserved
- August 17, 2025
- Published
- September 24, 2025, 00:00 UTC
- CVE record updated
- September 25, 2025, 18:53 UTC by mitre
- NVD
- Deferred, last modified June 17, 2026, 09:43 UTC
- Last checked
- CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:17 UTC; KEV December 3, 2026, 17:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
Which other CVEs were published on September 24, 2025?
- Sep 24, 2025CVE-2025-54520 AMD Kintex™ 7-Series FPGA: improper Protection Against Voltage and Clock Glitches
- Sep 24, 2025CVE-2025-10894 Red Hat Multicluster Global Hub: embedded Malicious Code
- Sep 24, 2025CVE-2025-59833 FlagForgeCTF flagForge: information disclosure
- Sep 24, 2025CVE-2025-59827 FlagForgeCTF flagForge: missing authorization
- Sep 24, 2025CVE-2025-59824 siderolabs omni: incorrect authorization
- Sep 24, 2025CVE-2025-59828 anthropics claude-code: inclusion of code from an untrusted source
- Sep 24, 2025CVE-2025-59251 Microsoft Edge (Chromium-based): stack buffer overflow
- Sep 24, 2025CVE-2025-55322 Microsoft OmniParser: binding to an Unrestricted IP Address
Every CVE published on September 24, 2025
Questions about CVE-2025-57351
Is CVE-2025-57351 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:09 UTC. FIRST's EPSS gives it a 0.43% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of ts-fns are affected by CVE-2025-57351?
ts-fns through 13.1.3, per the GitHub advisory GHSA-g7wq-wggw-vmhg. The tables above give every range the sources list.
Which version fixes CVE-2025-57351?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2025-57351?
Medium (6.5, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2025-57351?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.