{"cve":"CVE-2025-57351","nvd":{"published":"2025-09-24T19:15:40.363","modified":"2026-06-17T09:43:03.563","status":"Deferred","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L","score":6.5},"cwes":["CWE-1321"],"references":["https://github.com/VulnSageAgent/PoCs/tree/main/JavaScript/prototype-pollution/CVE-2025-57351","https://github.com/tangshuang/ts-fns/issues/36"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:10:08.713834912+00:00"},"epss":{"cve":"CVE-2025-57351","score":0.00429,"percentile":0.37184,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-g7wq-wggw-vmhg","url":"https://osv.dev/vulnerability/GHSA-g7wq-wggw-vmhg","summary":"ts-fns has prototype pollution vulnerability","modified":"2025-09-25T17:57:26.297193Z","packages":[{"ecosystem":"npm","name":"ts-fns","purl":"pkg:npm/ts-fns","ranges":["<=13.1.3"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}