Description
Lean 4 VS Code Extension is a Visual Studio Code extension for the Lean 4 proof assistant. Projects that use @leanprover/unicode-input-component are vulnerable to an XSS exploit in 0.1.9 of the package and lower. The component re-inserted text in the input element back into the input element as unescaped HTML. The issue has been resolved in 0.2.0.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| leanprover | vscode-lean4 | < 0.2.0 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | @leanprover/unicode-input-component | < 0.2.0 | 0.2.0 | GHSA-6ggm-pwr9-r5h2 |