Cross-site scripting in jsondiffpatch
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Active
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- None · Low · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-79.
Summary
Versions of the package jsondiffpatch before 0.7.6 are vulnerable to Cross-site Scripting (XSS) via the annotated formatter due to improper sanitization of JSON values and property names. If an application compares untrusted JSON/object data and renders annotated formatter output in the DOM, attacker-controlled HTML can be interpreted by the browser, resulting in XSS.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | jsondiffpatch | before 0.7.6 | 0.7.6 | Patch available | CNA |
- jsondiffpatch Vendor— Affected before 0.7.6 Fixed in 0.7.6 Patch available CNA
Remediation
- Fix · CNA jsondiffpatch Fixed in 0.7.6
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
jsondiffpatch 0.7.6
2 records Highest priority Priority HIGH 1 HIGH, 1 MEDIUM
Other records, highest priority first
- TI-2026-07606 Prototype pollution in jsondiffpatchPriority HIGH 77
Timeline
- 2026-10-02 Threatist record created from CVE-2026-8656
- 2026-10-03 Alias added: GHSA-2f3m-j83v-344c
References
Sources
- CVE-2026-8656 · CVE Program
- CVE-2026-8656 · NVD
- FIRST EPSS
- GHSA-2f3m-j83v-344c · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences