Skip to content

WS-2023-0010 (Medium) detected in dompurify-2.0.7.tgz, dompurify-1.0.11.tgz #464

@mend-bolt-for-github

Description

@mend-bolt-for-github

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:

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:

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

For more information on CVSS3 Scores, click here.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions