Skip to main content
VulnerabilityPublished Updated

CVE-2025-57351: ts-fns package · Prototype Pollution

Source CVE Database V5

0

Not known to be exploited · CVSS 6.5 Medium · fixed in 13.0.7 : update ts-fns package when convenient.

Data as of 26 Oct 2026, 17:16 UTC

CVSS 3.1 base score
6.5Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 36% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Affects
ts-fns package prior to 13.0.7
Patch
Available – fixed in 13.0.7
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 24 Sep 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

AI-suggested

To mitigate CVE-2025-57351, European organizations should take the following specific actions: 1) Identify all applications and services using the ts-fns package, particularly versions prior to 13.0.7. 3) Employ runtime application self-protection (RASP) or Web Application Firewalls (WAFs) configured to detect and block prototype pollution attack patterns. 4) Conduct thorough code reviews and static analysis to identify unsafe deep property assignments in the codebase. 5) Monitor application logs and behavior for anomalies indicative of prototype pollution exploitation attempts. 6) Engage with the ts-fns maintainers or community to track patch releases and apply updates promptly once available. 7) Educate developers about the risks of prototype pollution and secure coding practices to prevent similar vulnerabilities. These steps go beyond generic advice by focusing on immediate code-level mitigations and proactive monitoring in the absence of an official patch.

Description

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.

References

Community reviews

Loading reviews…