CVE-2026-8656

Source
https://cve.org/CVERecord?id=CVE-2026-8656
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-8656.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-8656
Published
2026-05-16T05:00:04.462Z
Modified
2026-07-08T08:13:53.032136421Z
Severity
  • 2.0 (Low) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N/E:P CVSS Calculator
Summary
[none]
Details

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.

Database specific
{
    "unresolved_ranges": [
        {
            "source": "AFFECTED_FIELD",
            "extracted_events": [
                {
                    "fixed": "0.7.6"
                }
            ]
        },
        {
            "source": "DESCRIPTION",
            "extracted_events": [
                {
                    "fixed": "0.7.6"
                }
            ]
        }
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/8xxx/CVE-2026-8656.json",
    "cna_assigner": "snyk",
    "cwe_ids": [
        "CWE-79"
    ]
}
References

Affected packages

Git / github.com/benjamine/jsondiffpatch

Affected ranges

Type
GIT
Repo
https://github.com/benjamine/jsondiffpatch
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "source": "REFERENCES"
}

Affected versions

v0.*
v0.0.2
v0.0.3
v0.0.5
v0.0.6
v0.0.7
v0.0.8
v0.1.2
v0.1.3
v0.1.35
v0.1.4
v0.1.42
v0.1.5
v0.1.6
v0.1.7
v0.1.8
v0.3.10
v0.3.11
v0.3.6
v0.3.7
v0.3.8
v0.3.9
v0.5.0
v0.6.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-8656.json"