XSS in Jsondiffpatch
CVE-2025-9910
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.7 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS: 0.003 (20.9th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 21st percentile — 20.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.003 · change: 0.000
Affected products
- Jsondiffpatch — versions 0
- Org.webjars.bower:jsondiffpatch — versions 0
- Org.webjars.npm:jsondiffpatch — versions 0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- security.snyk.io/vuln/SNYK-JS-JSONDIFFPATCH-10369031
- security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-12549276
- security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-12549277
- github.com/benjamine/jsondiffpatch/commit/0e374b5dd8d7879b329a9fc18affbd46ad50d…
- github.com/benjamine/jsondiffpatch/issues/383
- benjamine.github.io/jsondiffpatch/index.html
Frequently asked questions
- What is CVE-2025-9910?
- CVE-2025-9910 is a medium-severity vulnerability in Jsondiffpatch, classified under Cross-site Scripting. CVSS score: 4.7/10. Published 2025-09-11.
- How severe is CVE-2025-9910?
- Medium severity. CVSS v3 base score is 4.7 out of 10.
- Is CVE-2025-9910 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.