Home / jsondiffpatch / jsondiffpatch / CVE-2025-9910
CVE-2025-9910: is it exploited, and which versions of jsondiffpatch are affected and fixed?
CVE-2025-9910 is a cross-site scripting (XSS) vulnerability in jsondiffpatch. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 11:38 UTC). Affected: jsondiffpatch before 0.7.2 (GitHub advisory GHSA-33vc-wfww-vjfv). Fixed in 0.7.2 (GitHub advisory GHSA-33vc-wfww-vjfv). Severity: Low (2.3, CVSS 4.0, from snyk).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:38 UTC, CVE record November 19, 2026, 07:10 UTC and NVD November 19, 2026, 07:17 UTC.
What is 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.
From the CVE record by snyk, last updated September 11, 2025, 13:09 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| jsondiffpatch | before 0.7.2 | 0.7.2 | |
| org.webjars.npm:jsondiffpatch | all versions | ||
| org.webjars.bower:jsondiffpatch | all versions |
As the CVE record by snyk states it, last updated September 11, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | jsondiffpatch | < 0.7.2 | 0.7.2 | GHSA-33vc-wfww-vjfv |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated September 22, 2025. Summary: jsondiffpatch is vulnerable to Cross-site Scripting (XSS) via HtmlFormatter::nodeBegin.
How severe is CVE-2025-9910?
| Score | Version | Vector | Source |
|---|---|---|---|
| Low 2.3 | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:P | snyk |
| Medium 4.7 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N/E:P | snyk |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-9910 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, September 11, 2025)
- EPSS
- 0.35% probability of exploitation activity in the next 30 days, percentile 31.0 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-79 Improper Neutralization of Input During Web Page Generation
Where are the vendor advisories and references?
- https://security.snyk.io/vuln/SNYK-JS-JSONDIFFPATCH-10369031
- https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-12549276
- https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-12549277
- https://github.com/benjamine/jsondiffpatch/commit/0e374b5dd8d7879b329a9fc18affbd46ad50dd14
- https://github.com/benjamine/jsondiffpatch/issues/383
- https://benjamine.github.io/jsondiffpatch/index.html
Who found and reported it?
- zendive (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- September 3, 2025
- Published
- September 11, 2025, 05:00 UTC
- CVE record updated
- September 11, 2025, 13:09 UTC by snyk
- NVD
- Deferred, last modified October 19, 2026, 17:10 UTC
- Last checked
- CVE list November 19, 2026, 07:10 UTC; NVD November 19, 2026, 07:17 UTC; KEV December 3, 2026, 11:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect jsondiffpatch?
- May 16, 2026CVE-2026-8657 jsondiffpatch: prototype pollution
- May 16, 2026CVE-2026-8656 jsondiffpatch: cross-site scripting (XSS)
Questions about CVE-2025-9910
Is CVE-2025-9910 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:38 UTC. FIRST's EPSS gives it a 0.35% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of jsondiffpatch are affected by CVE-2025-9910?
jsondiffpatch before 0.7.2, per the GitHub advisory GHSA-33vc-wfww-vjfv. The tables above give every range the sources list.
Which version fixes CVE-2025-9910?
0.7.2, per the GitHub advisory GHSA-33vc-wfww-vjfv. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-9910?
Low (2.3, CVSS 4.0, from snyk). The severity table above shows each score with its source.
Where is the official record of CVE-2025-9910?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.