{"id":"CVE-2026-122234","state":"PUBLISHED","title":"jsondiffpatch before 0.7.7 XSS via Array-Move Destination in HTML Formatters","description":"jsondiffpatch before 0.7.7 contains a cross-site scripting vulnerability that allows attackers to inject markup by supplying an unescaped array-move destination index in a delta. Attackers who control a delta passed to formatters.html.format() or formatters.annotated.format() can embed script that executes in the application's origin when output is rendered.","publishedAt":"2026-11-04T21:06:41.734Z","updatedAt":"2026-11-09T16:57:47.830Z","severity":{"score":2.3,"label":"Low","version":"4.0","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","source":"VulnCheck"},"assigner":"VulnCheck","products":["benjamine jsondiffpatch"],"affected":[{"vendor":"benjamine","product":"jsondiffpatch","packageURL":"pkg:npm/jsondiffpatch","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"0.7.7","versionType":"semver"}],"repo":"https://github.com/benjamine/jsondiffpatch"}],"references":["https://github.com/benjamine/jsondiffpatch/security/advisories/GHSA-jhmf-rq89-q58p","https://github.com/benjamine/jsondiffpatch/commit/c6b2d97b34bc2356c816d8dd0f8b1c8af16bb6af","https://www.vulncheck.com/advisories/jsondiffpatch-before-0.7.7-xss-via-array-move-destination-in-html-formatters"],"weaknesses":["CWE-79"],"ingestedAt":"2026-11-09T17:06:05.864Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/122xxx/CVE-2026-122234.json","commit":"10f592c6e61fd45e286834626eda68a555393fed","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-122234","state":"PUBLISHED","datePublished":"2026-11-04T21:06:41.734Z","dateUpdated":"2026-11-09T16:57:47.830Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-11-04T20:51:10.864Z"},"containers":{"cna":{"title":"jsondiffpatch before 0.7.7 XSS via Array-Move Destination in HTML Formatters","descriptions":[{"lang":"en","value":"jsondiffpatch before 0.7.7 contains a cross-site scripting vulnerability that allows attackers to inject markup by supplying an unescaped array-move destination index in a delta. Attackers who control a delta passed to formatters.html.format() or formatters.annotated.format() can embed script that executes in the application's origin when output is rendered."}],"affected":[{"vendor":"benjamine","product":"jsondiffpatch","packageURL":"pkg:npm/jsondiffpatch","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"0.7.7","versionType":"semver"}],"repo":"https://github.com/benjamine/jsondiffpatch"}],"references":[{"url":"https://github.com/benjamine/jsondiffpatch/security/advisories/GHSA-jhmf-rq89-q58p","tags":["vendor-advisory"],"name":"GitHub Security Advisory (GHSA-jhmf-rq89-q58p)"},{"url":"https://github.com/benjamine/jsondiffpatch/commit/c6b2d97b34bc2356c816d8dd0f8b1c8af16bb6af","tags":["patch"]},{"url":"https://www.vulncheck.com/advisories/jsondiffpatch-before-0.7.7-xss-via-array-move-destination-in-html-formatters","name":"VulnCheck Advisory: jsondiffpatch before 0.7.7 XSS via Array-Move Destination in HTML Formatters","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"PASSIVE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"LOW","subIntegrityImpact":"LOW","subAvailabilityImpact":"NONE","baseScore":2.3,"baseSeverity":"LOW"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE","baseScore":4.7,"baseSeverity":"MEDIUM"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","lang":"en","description":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-11-04T21:06:41.734Z"},"datePublic":"2026-11-01T12:38:38.000Z","credits":[{"lang":"en","value":"Zachariah Mithani (AploSec)","type":"finder"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-11-09T16:09:36.497167Z","id":"CVE-2026-122234","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-11-09T16:57:47.830Z"}}]}}}