CVE-2026-32732 — @leanprover/unicode-input…
Fix: leanprover/vscode-lean4#735CVE-2026-32732 is a CWE-80 vulnerability in @leanprover/unicode-input-component. A fix is available for @leanprover/unicode-input-component — see the affected versions and patch details below.
XSS in @leanprover/unicode-input-component
Exploitation Status
No confirmed exploitation observed yet
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for CVE-2026-32732.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
Real-World Exposure
How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.
@leanprover/unicode-input-componentnpmDescription
Impact
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.
Patches
The issue has been resolved in 0.2.0.
Workarounds
Replace the unicode input component with a basic HTML text field.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 📦npm | @leanprover/unicode-input-component | all versions | 0.2.0npm install @leanprover/unicode-input-component@0.2.0 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for @leanprover/unicode-input-component, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update @leanprover/unicode-input-component to 0.2.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2026-32732 is resolved across your whole dependency graph.
Workarounds
Escape or sanitise the affected output on the server side rather than relying on client-side filtering, and add a Content-Security-Policy that blocks inline script execution so injected markup cannot run even if it reaches the page.
Frequently Asked Questions
Is CVE-2026-32732 in your dependencies?
Find it across npm, including transitive dependencies.