Security mailing lists by PureSourceCode

CVE-2025-57351

MEDIUM 6.5CVSS 3.1

ts-fns has prototype pollution vulnerability

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.

Published
24 Sep 2025
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Deferred
Weakness
CWE-1321
Also known as
GHSA-g7wq-wggw-vmhg
Sources
NVDJSONOSV GHSA-g7wq-wggw-vmhgJSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 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
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV npm ts-fns <= 13.1.3

References

History

  • 25 Nov 2026 20:59 UTC · NVD: first stored (published 24 Sep 2025)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 24 Sep 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.