# jsondiffpatch (npm) vulnerabilities

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

## At a glance

- Latest release: 0.7.7 (Oct 29, 2026): no advisory affects it
- Newest unaffected release: 0.7.7 (Oct 29, 2026), the latest release
- Weekly downloads: 3.2M
- Dependents: 234
- Releases: 70 since 0.0.1 (Jul 17, 2012)
- Registry: https://www.npmjs.com/package/jsondiffpatch
- Releases read: Nov 8, 2026

## Version timeline

Affected versions per advisory, in version order:

- CVE-2026-8657: 0.0.1 to 0.7.5 (0.7.6 is outside it)
- CVE-2025-9910: 0.0.1 to 0.6.2 (0.7.2 is outside it)

## Advisories (2)

### [CVE-2026-8657](https://cve.now/CVE-2026-8657): Versions of the package jsondiffpatch before 0.7.6 are vulnerable to Prototype Pollution via the jsondiffpatch.patch() and…

- Severity: High 8.8
- Published: May 16, 2026
- 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).

### [CVE-2025-9910](https://cve.now/CVE-2025-9910): Versions of the package jsondiffpatch before 0.7.2 are vulnerable to Cross-site Scripting (XSS) via HtmlFormatter::nodeBegin.

- Severity: Low 2.3
- Published: Sep 11, 2025
- 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).

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/packages/npm/jsondiffpatch
Site guide for agents: https://cve.now/llms.txt
Uses NVD data; not endorsed by NVD.
