תיאור (מקור, אנגלית)
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.
קישורים6
- benjamine.github.io/jsondiffpatch/index.html
- github.com/benjamine/jsondiffpatch/commit/0e374b5dd8d7879b329a…
- github.com/benjamine/jsondiffpatch/issues/383
- security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-12549277
- security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-12549276
- security.snyk.io/vuln/SNYK-JS-JSONDIFFPATCH-10369031
מדדים
- CVSS 3.1
-
4.7
MEDIUM
מקור הציון: CNA
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N - CVSS 4.0
-
1.3
LOW
מקור הציון: CNA
CVSS: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:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - EPSS — סבירות ניצול
- 0% אחוזון 25 · נכון ל-8 בנובמבר 2026
- CWE
- CWE-79
האם אפשר לנצל את הפגיעות הזו אצלכם?
עדכון אבטחה סוגר את הפרצה הידועה. בדיקת חדירות מראה לאן תוקף עדיין יכול להגיע — עם הוכחה.