{"cve":"CVE-2025-9910","nvd":{"published":"2025-09-11T05:15:34.137","modified":"2026-10-19T17:10:00.173","status":"Deferred","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.","cvss_v4":{"vector":"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","score":1.3},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","score":4.7},"cwes":["CWE-79"],"references":["https://benjamine.github.io/jsondiffpatch/index.html","https://github.com/benjamine/jsondiffpatch/commit/0e374b5dd8d7879b329a9fc18affbd46ad50dd14","https://github.com/benjamine/jsondiffpatch/issues/383","https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-12549277","https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-12549276"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:08:41.295252406+00:00"},"epss":{"cve":"CVE-2025-9910","score":0.00302,"percentile":0.22758,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-33vc-wfww-vjfv","url":"https://osv.dev/vulnerability/GHSA-33vc-wfww-vjfv","summary":"jsondiffpatch is vulnerable to Cross-site Scripting (XSS) via HtmlFormatter::nodeBegin","modified":"2026-09-10T03:50:27.847806501Z","packages":[{"ecosystem":"npm","name":"jsondiffpatch","purl":"pkg:npm/jsondiffpatch","ranges":["<0.7.2"],"fixed":["0.7.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}