-
Notifications
You must be signed in to change notification settings - Fork 4k
Open
Description
Reproducible in vscode.dev or in VS Code Desktop?
- Not reproducible in vscode.dev or VS Code Desktop
Reproducible in the monaco editor playground?
- Not reproducible in the monaco editor playground
Monaco Editor Playground Link
Irrelevant
Monaco Editor Playground Code
IrrelevantReproduction Steps
mkdir monaco-editor-alert
cd monaco-editor-alert
npm init -y
npm i monaco-editor
npm audit
Actual (Problematic) Behavior
dompurify 3.1.3 - 3.3.1
Severity: moderate
DOMPurify contains a Cross-site Scripting vulnerability - https://github.com/advisories/GHSA-v2wj-7wpq-c8vv
fix available via `npm audit fix --force`
Will install monaco-editor@0.53.0, which is a breaking change
node_modules/dompurify
monaco-editor >=0.54.0-dev-20250909
Depends on vulnerable versions of dompurify
node_modules/monaco-editor
2 moderate severity vulnerabilities
Expected Behavior
0 vulnerabilities
Additional Context
Need to upgrade to dompurify@3.3.2
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels