- Guides
- Dependencies
What outdated dependencies cost: one package.json, two years later
A package.json left alone for two years: 82 known advisories, 79 of them fixed without a major upgrade. Industry figures, Equifax, and keeping the cost low.

In this guide
An outdated dependency sends no invoice. Its cost shows up in two places: the known security advisories your project ships while it waits, and the upgrade work that grows with every release you skip. We measured both on one ordinary package.json left alone for two years, then set the result against the industry's own figures.
One package.json, two years later
We wrote the package.json of a typical Next.js project as it would have looked on 20 November 2024: eleven popular packages, each pinned to the newest stable version npm had published that day, as a lockfile pins them. On 20 November 2026, we pasted it into inlinr's dependency check, which compares each package with its latest version and lists the advisories of the GitHub Advisory Database that affect the version declared.
| Package | Nov 2024 | Nov 2026 | Advisories |
|---|---|---|---|
| next | 15.0.3 | 16.4.6 | 41 (5 critical, 11 high) |
| axios | 1.7.7 | 1.21.1 | 33 (13 high) |
| postcss | 8.4.49 | 8.5.33 | 4 (2 high) |
| vitest | 2.1.5 | 5.1.1 | 3 (2 critical) |
| zod | 3.23.8 | 4.6.7 | 1 (high) |
| react, react-dom | 18.3.1 | 19.3.1 | 0 |
| typescript | 5.6.3 | 7.0.2 | 0 |
| eslint | 9.15.0 | 10.15.0 | 0 |
| tailwindcss | 3.4.15 | 4.3.5 | 0 |
| prettier | 3.3.3 | 3.10.1 | 0 |
| The project | 11 packages | 8 with a new major | 82 (7 critical, 27 high) |
The 82 advisories fall on five packages: 7 critical, 27 high, 43 moderate and 5 low. Among the critical ones are an authorization bypass in Next.js middleware (CVE-2025-29927) and remote code execution in Next.js's image optimization API. In the same two years, these eleven packages published 652 stable versions between them, and eight of them moved to at least one new major version: eleven majors to cross in all, three of them for vitest alone.
Most fixes were one small upgrade away
For each advisory, the check gives the first version that fixes it. 79 of the 82 are fixed by a release within the major version the project already used: a patch or a minor upgrade, the kind a lockfile update brings without touching the code in most cases. The middleware bypass is a good example: Next.js 15.2.3 fixed it on 18 March 2025, four months after 15.0.3, in the same 15.x line. Only three need a major upgrade: two in vitest, one in zod.
So the security cost of these two years was avoidable at a low price, upgrade by upgrade. Sonatype finds the same across ecosystems: in its 2024 report, a fixed version existed for 95% of the vulnerable components downloaded, and only 0.5% of components had no update to move to.
The other cost is the one that waits. React 19, Next.js 16, Tailwind CSS 4, TypeScript 6 and 7, ESLint 10, zod 4 and vitest 3, 4 and 5 each ask for changes in the code, and each was easier to take alone, the month it came out, than together with the others two years later.
What the count does not say
The industry's numbers
Our file is one project. Larger samples point the same way.
- Black Duck, 2026. Its yearly audit of 947 commercial codebases found that 92% contain at least one open source component ten or more versions behind its latest release. Counted by component, 7% run the latest version and 41% are ten or more versions behind.
- Sonatype, 2024. Nearly three years after Log4Shell, 13% of the downloads of Log4j were still of a vulnerable version, while a fixed version that broke nothing had existed all along.
- Kula and colleagues, 2018. In a study of over 4,600 GitHub projects, 81.5% kept their outdated dependencies, and 69% of the developers they surveyed did not know their dependencies were vulnerable.
When the bill comes
The most expensive known case is Equifax. In March 2017, a vulnerability in the Apache Struts web framework was disclosed with its patch. One of Equifax's systems was not patched; attackers used the flaw from mid-May and stayed for about 76 days before anyone noticed, according to the U.S. Government Accountability Office. The personal data of about 147 million people was taken. In 2019, Equifax agreed to pay at least $575 million, and up to $700 million, in a settlement with the FTC, the CFPB and the states.
It is an extreme case, and the cause was a process that failed rather than a team that did not care: the alert never reached the people who installed patches. The mechanism is the one of the table above: a fix published, not applied.
The runtime ages too
The same holds for Node.js itself. Node.js 18 reached its end of life on 30 April 2025, and Node.js 20 on 30 April 2026. From that date, the project publishes no release for them, even for a vulnerability found and fixed in a newer line. Upgrading the runtime is one more major version on the list, with a date set years in advance.
Keeping the cost low
None of this asks to chase every release the day it comes out. What keeps the cost low:
- Patch and minor upgrades on a schedule, every week or two, with a lockfile and your tests. They carry almost every security fix, and rarely ask for a change in the code.
- Advisories by severity and by reach. A critical advisory in a package your server runs comes first; one in a tool that only runs on your machine can wait for the next round.
- One major version at a time, its release notes and migration guide read before the upgrade, as described in upgrading a dependency with your assistant.
- Runtime end-of-life dates in the calendar, since they are known years in advance.
What inlinr does
The dependency check runs the measure above on your own package.json, free and without an account: paste the file or give a public GitHub repository, and it lists each dependency's distance to its latest version and the advisories that affect the version you declare. Dependafeed then follows the projects you choose: their releases, deprecations and advisories, and an Upgrades tab that ranks what to do across all of them, security fixes first. Three followed projects are free.
Sources
- The registry of npm: the versions of each package and their publication dates, read from
registry.npmjs.orgon 20 November 2026. - Dependency check, inlinr: the advisories of the GitHub Advisory Database, through OSV, that affect each declared version, with the first version that fixes them. Checked on 20 November 2026.
- Authorization Bypass in Next.js Middleware, CVE-2025-29927, GitHub Advisory Database: published on 21 March 2025, fixed in 15.2.3, 14.2.25, 13.5.9 and 12.3.5. Checked on 20 November 2026.
- 2026 Open Source Security and Risk Analysis Report, Black Duck, published in March 2026: 947 codebases, components ten or more versions behind. Checked on 20 November 2026.
- 2024 State of the Software Supply Chain, Sonatype: Log4j downloads, fixed versions available. Checked on 20 November 2026.
- Do developers update their library dependencies?, R. G. Kula, D. M. German, A. Ouni, T. Ishio and K. Inoue, Empirical Software Engineering, 2018. Checked on 20 November 2026.
- Data Protection: Actions Taken by Equifax and Federal Agencies in Response to the 2017 Breach, U.S. Government Accountability Office, GAO-18-559, 2018: the timeline of the breach. Checked on 20 November 2026.
- Equifax to Pay $575 Million as Part of Settlement with FTC, CFPB, and States Related to 2017 Data Breach, Federal Trade Commission, 22 July 2019. Checked on 20 November 2026.
- Node.js releases and End-of-Life, Node.js: the end of life of each line and what it means. Checked on 20 November 2026.
See it on your own sessions
Follow a project in Dependafeed and its advisories and upgrades come ranked, security fixes first, with what each one changes.
Free for solo use · no source code leaves your machine