CVE-2025-9910
Summary
| CVE | CVE-2025-9910 |
|---|---|
| State | PUBLISHED |
| Assigner | snyk |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2025-09-11 05:15:34 UTC |
| Updated | 2026-10-19 17:10:00 UTC |
| Description | 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. |
Risk And Classification
Primary CVSS: v4.0 1.3 LOW from [email protected]
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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS: 0.003020000 probability, percentile 0.215880000 (date 2026-10-19)
Problem Types: CWE-79 | CWE-79 Cross-site Scripting (XSS)
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 4.0 | [email protected] | Secondary | 1.3 | LOW | 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/C... |
| 4.0 | CNA | DECLARED | 2.3 | LOW | 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 |
| 3.1 | [email protected] | Secondary | 4.7 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N |
| 3.1 | CNA | DECLARED | 4.7 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N/E:P |
CVSS v4.0 Breakdown
Attack Vector
NetworkAttack Complexity
LowAttack Requirements
PresentPrivileges Required
NoneUser Interaction
PassiveConfidentiality
NoneIntegrity
NoneAvailability
NoneSub Conf.
LowSub Integrity
LowSub Availability
NoneCVSS: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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
HighPrivileges Required
NoneUser Interaction
RequiredScope
ChangedConfidentiality
LowIntegrity
LowAvailability
NoneCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Na | Jsondiffpatch | affected 0.7.2 semver | Not specified |
| CNA | Na | Org.webjars.npmjsondiffpatch | affected * semver | Not specified |
| CNA | Na | Org.webjars.bowerjsondiffpatch | affected * semver | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-12549276 | [email protected] | security.snyk.io | |
| github.com/benjamine/jsondiffpatch/issues/383 | [email protected] | github.com | |
| security.snyk.io/vuln/SNYK-JS-JSONDIFFPATCH-10369031 | [email protected] | security.snyk.io | |
| security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-12549277 | [email protected] | security.snyk.io | |
| benjamine.github.io/jsondiffpatch/index.html | [email protected] | benjamine.github.io | |
| github.com/benjamine/jsondiffpatch/commit/0e374b5dd8d7879b329a9fc18affbd... | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: zendive (en)
There are currently no legacy QID mappings associated with this CVE.