CVEvulnerability
CVE-2025-9910
1.3 LOW
Official page ↗
- Status
- Deferred
- Published
- 2025-09-11
- Last modified
- 2026-10-19
- Assigner
- [email protected]
- CVSS 4.0 ([email protected])
- 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/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 3.1 ([email protected])
- 4.7 MEDIUM — CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
- Weaknesses
- CWE-79
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.
Related
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://benjamine.github.io/jsondiffpatch/index.html benjamine.github.io
- https://github.com/benjamine/jsondiffpatch/commit/0e374b5dd8d7879b329a9fc18affbd46ad50dd14 github.com
- https://github.com/benjamine/jsondiffpatch/issues/383 github.com
- https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-12549277 security.snyk.io
- https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-12549276 security.snyk.io
- https://security.snyk.io/vuln/SNYK-JS-JSONDIFFPATCH-10369031 security.snyk.io