HIGH7.5
GHSA-f8r4-mf27-rf7m
Finance.js vulnerable to DoS via the IRR function’s depth parameter
Details
Finance.js v4.1.0 contains a Denial of Service (DoS) vulnerability via the IRR function’s depth parameter. Improper handling of the recursion/iteration limit can lead to excessive CPU usage, causing application stalls or crashes.
Are you affected?
Enter the version of the package you're using.
Affected packages
npm/financejs
Introduced in:
0No fixed version published yet for financejs (npm). Pin to a known-safe version or switch to an alternative.
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-56571[ADVISORY]
- https://github.com/ebradyjobory/finance.js[PACKAGE]
- https://medium.com/@nakah_/cve-2025-56571-and-cve-2025-56572-denial-of-service-vulnerabilities-in-finance-js-78f8b399f53b[WEB]
- https://raw.githack.com/ebradyjobory/finance.js/6d571ea2a86d08491ceb584e292e9b76b0a60636/finance.js[WEB]
- http://financejs.com[WEB]