CVE-2025-9910

State
Published
Severity
2.3 Low
Published
Sep 11, 2025
Updated
Sep 11, 2025
Reserved
Sep 3, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.02.3 LowCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:Psnyk
3.14.7 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N/E:Psnyk

Weaknesses

  • CWE-79 Cross-site Scripting (XSS)

Affected Products

ProductVersions
jsondiffpatchn/a
  • before 0.7.2Affected
org.webjars.npm:jsondiffpatchn/a
  • all versionsAffected
org.webjars.bower:jsondiffpatchn/a
  • all versionsAffected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.