CVE-2025-9910

Medium

Description

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.

SeverityMedium
CVSS4.7
Exploit probability—
ProductJsondiffpatch
PublishedSep 11, 2025
First seenSep 11, 2025

How to fix

Update
  • jsondiffpatch0.7.2 or later

Affected products

ProductAffected versionsFixed in
jsondiffpatchnpmv < 0.7.20.7.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.