Description
Versions of the package jsondiffpatch before 0.7.6 are vulnerable to Cross-site Scripting (XSS) via the annotated formatter due to improper sanitization of JSON values and property names. If an application compares untrusted JSON/object data and renders annotated formatter output in the DOM, attacker-controlled HTML can be interpreted by the browser, resulting in XSS.
Published: 2026-05-16
Score: 5.1 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 18 May 2026 13:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Sun, 17 May 2026 20:30:00 +0000

Type Values Removed Values Added
First Time appeared Benjamine
Benjamine jsondiffpatch
Vendors & Products Benjamine
Benjamine jsondiffpatch

Sat, 16 May 2026 06:45:00 +0000

Type Values Removed Values Added
Title Cross‑Site Scripting via jsondiffpatch Annotated Formatter

Sat, 16 May 2026 05:30:00 +0000

Type Values Removed Values Added
Description Versions of the package jsondiffpatch before 0.7.6 are vulnerable to Cross-site Scripting (XSS) via the annotated formatter due to improper sanitization of JSON values and property names. If an application compares untrusted JSON/object data and renders annotated formatter output in the DOM, attacker-controlled HTML can be interpreted by the browser, resulting in XSS.
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N/E:P'}

cvssV4_0

{'score': 5.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N/E:P'}


Subscriptions

Benjamine Jsondiffpatch
cve-icon MITRE

Status: PUBLISHED

Assigner: snyk

Published:

Updated: 2026-05-18T13:00:56.749Z

Reserved: 2026-05-15T06:27:53.788Z

Link: CVE-2026-8656

cve-icon Vulnrichment

Updated: 2026-05-18T12:59:38.589Z

cve-icon NVD

Status : Deferred

Published: 2026-05-16T06:16:18.347

Modified: 2026-06-17T11:04:15.667

Link: CVE-2026-8656

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-05-17T19:41:18Z

Weaknesses