{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-122234","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","state":"PUBLISHED","assignerShortName":"VulnCheck","dateReserved":"2026-11-04T20:51:10.864Z","datePublished":"2026-11-04T21:06:41.734Z","dateUpdated":"2026-11-04T21:06:41.734Z"},"containers":{"cna":{"providerMetadata":{"orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","shortName":"VulnCheck","dateUpdated":"2026-11-04T21:06:41.734Z"},"datePublic":"2026-11-01T12:38:38.000Z","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."}],"problemTypes":[{"descriptions":[{"lang":"en","description":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","cweId":"CWE-79","type":"CWE"}]}],"affected":[{"vendor":"benjamine","product":"jsondiffpatch","defaultStatus":"unaffected","versions":[{"version":"0","lessThan":"0.7.7","status":"affected","versionType":"semver"}],"packageURL":"pkg:npm/jsondiffpatch","repo":"https://github.com/benjamine/jsondiffpatch"}],"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"}}],"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"]},{"name":"VulnCheck Advisory: jsondiffpatch before 0.7.7 XSS via Array-Move Destination in HTML Formatters","tags":["third-party-advisory"],"url":"https://www.vulncheck.com/advisories/jsondiffpatch-before-0.7.7-xss-via-array-move-destination-in-html-formatters"}],"credits":[{"lang":"en","value":"Zachariah Mithani (AploSec)","type":"finder"}],"x_generator":{"engine":"vulncheck-endgame"}}}}