Npm Jsondiffpatch vulnerabilities
🔔 Create alert RSS Version checker
Published CVEs affecting Npm Jsondiffpatch: 1 record(s), with affected versions and fixes.
CVE-2025-9910
Medium · 4.7
CWE-79 Sep 11, 2025
jsondiffpatch is vulnerable to Cross-site Scripting (XSS) via HtmlFormatter::nodeBegin
Versions of the package jsondiffpatch before 0.7.2 are vulnerable to Cross-site Scripting (XSS) via HtmlFormatter::nodeBegin. An attacker can inject malicious scripts into HTML payloads that may lead to code execution if untrusted payloads were used as source for the diff, and the result renderer using the built-in html formatter on a private website.