Skip to main content
← npm

jsondiffpatch

2 known vulnerabilities (1 high, 1 low), with the versions each affects and the releases that fix them.

Latest release
0.7.7 (Oct 29, 2026): no advisory affects it
Newest unaffected release
0.7.7 (Oct 29, 2026), the latest release
Advisories
2 · 1 high, 1 low
Weekly downloads
3.2M
Dependents
234
Releases
70 since 0.0.1 (Jul 17, 2012)
Registry
npm
Releases read
Nov 8, 2026

Version timeline

Every release cve.now has on record, lowest version on the left; each bar is a run of versions an advisory affects.

Advisories 2

  • Versions of the package jsondiffpatch before 0.7.6 are vulnerable to Prototype Pollution via the jsondiffpatch.patch() and…

    Affected: fixed in 0.7.6.

    Fixed in 0.7.6 (released May 14, 2026, 2 days before disclosure).

    The latest release, 0.7.7, is not affected.

    71% of jsondiffpatch downloads last week were affected versions (2.8M).

  • Versions of the package jsondiffpatch before 0.7.2 are vulnerable to Cross-site Scripting (XSS) via HtmlFormatter::nodeBegin.

    Affected: fixed in 0.7.2.

    Fixed in 0.7.2 (released Mar 28, 2025, 167 days before disclosure).

    The latest release, 0.7.7, is not affected.

    62% of jsondiffpatch downloads last week were affected versions (2.5M).