-
Notifications
You must be signed in to change notification settings - Fork 2
WS-2023-0010 (Medium) detected in dompurify-2.0.7.tgz, dompurify-1.0.11.tgz #464
Description
WS-2023-0010 - Medium Severity Vulnerability
Vulnerable Libraries - dompurify-2.0.7.tgz, dompurify-1.0.11.tgz
dompurify-2.0.7.tgz
DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. It's written in JavaScript and works in all modern browsers (Safari, Opera (15+), Internet Explorer (10+), Firefox and Chrome - as well as almost anything else usin
Library home page: https://registry.npmjs.org/dompurify/-/dompurify-2.0.7.tgz
Path to dependency file: /package.json
Path to vulnerable library: /package.json
Dependency Hierarchy:
- github-https://www.atom.io/api/packages/github/versions/0.34.2/tarball.tgz (Root Library)
- ❌ dompurify-2.0.7.tgz (Vulnerable Library)
dompurify-1.0.11.tgz
DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. It's written in JavaScript and works in all modern browsers (Safari, Opera (15+), Internet Explorer (10+), Firefox and Chrome - as well as almost anything else usin
Library home page: https://registry.npmjs.org/dompurify/-/dompurify-1.0.11.tgz
Path to dependency file: /package.json
Path to vulnerable library: /package.json
Dependency Hierarchy:
- autocomplete-plus-https://www.atom.io/api/packages/autocomplete-plus/versions/2.42.3/tarball.tgz (Root Library)
- ❌ dompurify-1.0.11.tgz (Vulnerable Library)
Found in HEAD commit: 808ed16784ca49c0e5810becefba198982d2916e
Found in base branch: electron-upgrade
Vulnerability Details
dompurify prior to version 2.2.2 is vulnerable to cross-site scripting when converting from SVG namespace.
Publish Date: 2023-01-12
URL: WS-2023-0010
CVSS 3 Score Details (6.1)
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Network
- Attack Complexity: Low
- Privileges Required: None
- User Interaction: Required
- Scope: Changed
- Impact Metrics:
- Confidentiality Impact: Low
- Integrity Impact: Low
- Availability Impact: None
Suggested Fix
Type: Upgrade version
Origin: GHSA-pgjv-jrg2-gq3v
Release Date: 2023-01-12
Fix Resolution: dompurify - 2.2.2
Step up your Open Source Security Game with Mend here