CVE-2026-75838 (Medium) detected in dompurify-3.4.1.tgz

Open Beginner friendly
#385 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Quiet
Tech stack
javascript, react
Domain
frontend, security

Research direction

Start by inspecting /ui/package.json and the dependency hierarchy showing dompurify 3.4.1 through react and monaco-editor. Update the dependency path so the resolved DOMPurify version is 3.4.13 or newer, then verify that the vulnerability scanner no longer reports CVE-2026-75838.

Written by the indexing model from the issue text.

Description

Mend: dependency security vulnerability

CVE-2026-75838 - Medium Severity Vulnerability

Vulnerable Library - dompurify-3.4.1.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-3.4.1.tgz

Sample Path to Dependency File: /ui/package.json

Path to vulnerable library: /ui/node_modules/.pnpm/dompurify@3.4.1/node_modules/dompurify/package.json

Dependency Hierarchy:

  • @⁠postgres.ai/ce-4.0.3.tgz (Root Library)
    • react-4.7.0.tgz
      • monaco-editor-0.55.1.tgz
        • dompurify-3.4.1.tgz (Vulnerable Library)

Found in base branch: master

Vulnerability Details

DOMPurify before 3.4.13 contains a cross-site scripting vulnerability in IN_PLACE sanitization where element-removal hooks fail to neutralize detached subtrees. Attackers can supply HTML with event handlers on descendant elements that execute after sanitization completes, even though the returned root appears clean.

Publish Date: 2026-08-18

URL: CVE-2026-75838

CVSS 3 Score Details (5.4)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: Low
    • 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: https://github.com/cure53/DOMPurify/security/advisories/GHSA-55q2-fjhq-7xh7

Release Date: 2026-08-18

Fix Resolution: dompurify - 3.4.13,dompurify - 3.4.13


Step up your Open Source Security Game with Mend here

Dominant language
Go
Stars
2.7k
Forks
85
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from postgres-ai/database-lab-engine

All issues in postgres-ai/database-lab-engine

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.