From cac0850bb2ca761bf262819b2ad66854a233aa8e Mon Sep 17 00:00:00 2001 From: sampion88 Date: Thu, 30 Jan 2025 17:17:42 +0100 Subject: [PATCH] new vulnerability in dompurify --- input/new.json | 34 ++++++++++++++++++++++------------ 1 file changed, 22 insertions(+), 12 deletions(-) diff --git a/input/new.json b/input/new.json index 87646b9..1a1070a 100644 --- a/input/new.json +++ b/input/new.json @@ -1,15 +1,25 @@ { - "package_name": "", - "patch_versions": [], - "vulnerable_ranges": [], - "cwe": [], - "tldr": "", - "doest_this_affect_me": "", - "how_to_fix": "", - "vulnerable_to": "", + "package_name": "dompurify", + "patch_versions": [ + "3.2.4" + ], + "vulnerable_ranges": [ + [ + "3.0.0", + "3.2.3" + ] + ], + "cwe": [ + "CWE-79" + ], + "tldr": "Affected versions of this package are vulnerable to Cross-site Scripting (XSS) in the `DOMPurify.sanitize` function.", + "doest_this_affect_me": "You are affected if you are using a version that falls within the vulnerable range.", + "how_to_fix": "Upgrade the `dompurify` library to a patch version.", + "reporter": "", + "vulnerable_to": "Cross-site Scripting (XSS)", "related_cve_id": "", - "language": "", - "severity_class": "", - "aikido_score": 0, - "changelog": "" + "language": "JS", + "severity_class": "MEDIUM", + "aikido_score": 42, + "changelog": "https://github.com/cure53/DOMPurify/releases/tag/3.2.4" }