Cross-site scripting in jsondiffpatch - CVE-2025-9910

 

Cross-site scripting in jsondiffpatch - CVE-2025-9910

Published: November 21, 2025


Vulnerability identifier: #VU118669
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:U/U:Clear
CVE-ID: CVE-2025-9910
CWE-ID: CWE-79
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: benjamine
Affected software:
jsondiffpatch

Detailed vulnerability description

The disclosed vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks.

The vulnerability exists due to insufficient sanitization of user-supplied data. A remote attacker can trick the victim to follow a specially crafted link and 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.


How to mitigate CVE-2025-9910

Install updates from vendor's website.

Sources