XSS in @leanprover/unicode-input-component
Low severity
GitHub Reviewed
Published
Mar 13, 2026
in
leanprover/vscode-lean4
•
Updated Mar 16, 2026
Description
Published by the National Vulnerability Database
Mar 16, 2026
Published to the GitHub Advisory Database
Mar 16, 2026
Reviewed
Mar 16, 2026
Last updated
Mar 16, 2026
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