CVE-2025-9910
Published: Sep 11, 2025
Modified: Sep 11, 2025
CVSS v3.1
4.7
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.
| Vendor | Product | Versions |
|---|---|---|
n/a | jsondiffpatch | affected 0 - < 0.7.2 |
n/a | org.webjars.npm:jsondiffpatch | affected 0 - < * |
n/a | org.webjars.bower:jsondiffpatch | affected 0 - < * |
Weaknesses (CWE)
CVSS v3.1 Details
CVSS v3.1 Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N/E:P
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
References
Security Training
Train your team to recognize and prevent security threats with our comprehensive security awareness program.
Start TrainingVulnerability Scanning
Discover vulnerabilities in your applications and infrastructure before attackers do.
Scan Now