CVE-2025-9910

published 11 Sep 2025 · updated 11 Sep 2025

Versions of the package jsondiffpatch before 0.7.2 are vulnerable to Cross-site Scripting (XSS) via HtmlFormatter::nodeBegin

4.7MediumCVSS 4.7EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 0.7.2 and *.

Versions of the package jsondiffpatch before 0.7.2 are vulnerable to Cross-site Scripting (XSS) via HtmlFormatter::nodeBegin. An attacker can 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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
<0.7.20.7.2, *

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-9910 severity on Zeptric[![CVE-2025-9910](https://zeptric.io/badge/cve/CVE-2025-9910.svg)](https://zeptric.io/cve/CVE-2025-9910)