Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dompurify-2.4.3.tgz: 2 vulnerabilities (highest severity is: 10.0) - autoclosed #82

Closed
mend-for-github-com bot opened this issue Nov 6, 2024 · 1 comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend untriaged

Comments

@mend-for-github-com
Copy link
Contributor

Vulnerable Library - dompurify-2.4.3.tgz

Library home page: https://registry.npmjs.org/dompurify/-/dompurify-2.4.3.tgz

Path to dependency file: /package.json

Path to vulnerable library: /package.json

Found in HEAD commit: 5a4929a352d4fd6b55b95792fc270c8a0c17f64c

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (dompurify version) Remediation Possible**
CVE-2024-47875 Critical 10.0 dompurify-2.4.3.tgz Direct 2.5.0
CVE-2024-45801 High 7.3 dompurify-2.4.3.tgz Direct 2.5.4

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2024-47875

Vulnerable Library - dompurify-2.4.3.tgz

Library home page: https://registry.npmjs.org/dompurify/-/dompurify-2.4.3.tgz

Path to dependency file: /package.json

Path to vulnerable library: /package.json

Dependency Hierarchy:

  • dompurify-2.4.3.tgz (Vulnerable Library)

Found in HEAD commit: 5a4929a352d4fd6b55b95792fc270c8a0c17f64c

Found in base branch: main

Vulnerability Details

DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. DOMpurify was vulnerable to nesting-based mXSS. This vulnerability is fixed in 2.5.0 and 3.1.3.

Publish Date: 2024-10-11

URL: CVE-2024-47875

CVSS 3 Score Details (10.0)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Changed
  • Impact Metrics:
    • Confidentiality Impact: Low
    • Integrity Impact: High
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://www.cve.org/CVERecord?id=CVE-2024-47875

Release Date: 2024-10-11

Fix Resolution: 2.5.0

⛑️ Automatic Remediation will be attempted for this issue.

CVE-2024-45801

Vulnerable Library - dompurify-2.4.3.tgz

Library home page: https://registry.npmjs.org/dompurify/-/dompurify-2.4.3.tgz

Path to dependency file: /package.json

Path to vulnerable library: /package.json

Dependency Hierarchy:

  • dompurify-2.4.3.tgz (Vulnerable Library)

Found in HEAD commit: 5a4929a352d4fd6b55b95792fc270c8a0c17f64c

Found in base branch: main

Vulnerability Details

DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. It has been discovered that malicious HTML using special nesting techniques can bypass the depth checking added to DOMPurify in recent releases. It was also possible to use Prototype Pollution to weaken the depth check. This renders dompurify unable to avoid cross site scripting (XSS) attacks. This issue has been addressed in versions 2.5.4 and 3.1.3 of DOMPurify. All users are advised to upgrade. There are no known workarounds for this vulnerability.

Publish Date: 2024-09-16

URL: CVE-2024-45801

CVSS 3 Score Details (7.3)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: Low
    • Integrity Impact: Low
    • Availability Impact: Low

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-mmhx-hmjr-r674

Release Date: 2024-09-16

Fix Resolution: 2.5.4

⛑️ Automatic Remediation will be attempted for this issue.


⛑️Automatic Remediation will be attempted for this issue.

@mend-for-github-com mend-for-github-com bot added the Mend: dependency security vulnerability Security vulnerability detected by Mend label Nov 6, 2024
@mend-for-github-com mend-for-github-com bot changed the title dompurify-2.4.3.tgz: 2 vulnerabilities (highest severity is: 10.0) dompurify-2.4.3.tgz: 2 vulnerabilities (highest severity is: 10.0) - autoclosed Nov 6, 2024
Copy link
Contributor Author

✔️ This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend untriaged
Projects
None yet
Development

No branches or pull requests

0 participants