CVE-2026-32732: @leanprover/unicode input component Cross-Site Scripting Vulnerability

LOW
Advisory Identifier: GHSA-6ggm-pwr9-r5h2
CWE-80
Published
Advisory Summary

CVE-2026-32732 is a LOW cross-site scripting vulnerability (CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)) affecting @leanprover/unicode input component libraries in the npm ecosystem. The issue involves xss in @leanprover/unicode-input-component. Remediation is available by upgrading affected packages to version 0.2.0.

CVE-2026-32732 at a Glance

CVE Identifier CVE-2026-32732
GHSA Identifier GHSA-6ggm-pwr9-r5h2
Severity LOW
CVSS v3.1 Base Score N/A
CWE Classification CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)
Affected Product @leanprover/unicode input component
Package Ecosystem npm
Published Date
Last Updated

How to Fix CVE-2026-32732

To remediate this vulnerability, upgrade all affected @leanprover/unicode input component dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

@leanprover/unicode-input-component fixed: 0.2.0
npm install @leanprover/unicode-input-component@0.2.0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls @leanprover/unicode-input-component

How to Check if You Are Affected

To determine whether your Node.js application is affected by CVE-2026-32732, inspect your project dependencies using npm:

npm ls @leanprover/unicode-input-component

Analyze the terminal output to locate any version of @leanprover/unicode input component in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.2.0), your application is affected.

Note: The npm ls @leanprover/unicode-input-component command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS), where the product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes special characters such as "<", ">", and "&" that could be interpreted as web-scripting elements when they are sent to a downstream component that processes web pages. In @leanprover/unicode input component, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Impact Projects that use [@leanprover/unicode-input-component](https://www.npmjs.com/package/@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.

CVE-2026-32732 Affected @leanprover/unicode input component Versions

1 component(s)
Fixed Versions:
0.2.0
Product / Package Ecosystem Affected Versions Fixed Version
@leanprover/unicode-input-component
npm
< 0.2.0
0.2.0

References

Frequently Asked Questions

What is CVE-2026-32732?
CVE-2026-32732 is a security vulnerability in @leanprover/unicode input component involving XSS in @leanprover/unicode-input-component under CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS).
Which @leanprover/unicode input component versions are affected?
Affected versions include releases prior to 0.2.0 across affected packages: @leanprover/unicode-input-component.
What version fixes CVE-2026-32732?
Upgrading to 0.2.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is @leanprover/unicode-input-component affected?
Yes, @leanprover/unicode-input-component is affected in releases prior to 0.2.0. Upgrade your dependency to 0.2.0 or later.
What CWE is associated with CVE-2026-32732?
CVE-2026-32732 is classified under CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) (The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes special characters such as "<", ">", and "&" that could be interpreted as web-scripting elements when they are sent to a downstream component that processes web pages.).
How can I check npm dependencies for CVE-2026-32732?
Run the dependency tree command: 'npm ls @leanprover/unicode-input-component'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-6ggm-pwr9-r5h2",
  "modified" : "2026-03-16T16:39:55Z",
  "published" : "2026-03-16T16:39:55Z",
  "aliases" : [ "CVE-2026-32732" ],
  "summary" : "XSS in @leanprover/unicode-input-component",
  "details" : "### Impact\nProjects that use [@leanprover/unicode-input-component](https://www.npmjs.com/package/@leanprover/unicode-input-component) are vulnerable to an XSS exploit in 0.1.9 of the package and lower. \nThe component re-inserted text in the input element back into the input element as unescaped HTML.\n\n### Patches\nThe issue has been resolved in 0.2.0.\n\n### Workarounds\nReplace the unicode input component with a basic HTML text field.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "@leanprover/unicode-input-component"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.2.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/leanprover/vscode-lean4/security/advisories/GHSA-6ggm-pwr9-r5h2"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-32732"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/leanprover/vscode-lean4/pull/735"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/leanprover/vscode-lean4"
  }, {
    "type" : "WEB",
    "url" : "https://leanprover.zulipchat.com/#narrow/channel/113488-general/topic/weird.20behavior.20in.20loogle.20searchbar/near/578502003"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-80" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-03-16T16:39:55Z",
    "nvd_published_at" : "2026-03-16T14:19:43Z"
  }
}