CVE-2026-32732: XSS in @leanprover/unicode-input-component
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.
Published Mar 16, 2026
Affected packages
@leanprover/unicode-input-component
- Ecosystem
- npm
- Affected
- < 0.2.0
- Fixed in
- 0.2.0
- Check
npm ls @leanprover/unicode-input-component
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
- https://github.com/leanprover/vscode-lean4/security/advisories/GHSA-6ggm-pwr9-r5h2
- https://nvd.nist.gov/vuln/detail/CVE-2026-32732
- https://github.com/leanprover/vscode-lean4/pull/735
- https://leanprover.zulipchat.com/#narrow/channel/113488-general/topic/weird.20behavior.20in.20loogle.20searchbar/near/578502003
- https://github.com/advisories/GHSA-6ggm-pwr9-r5h2
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
