Live threats

All CVEs / Zauberzeug

CVE-2026-21872Zauberzeug Nicegui

Medium 6.1 No auth needed

Priority
52
CVSS 3.1
6.1
EPSS
—
Auth required
No
Published
Jan 8, 2026
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What happens

NiceGUI is a Python-based UI framework. From versions 2.22.0 to 3.4.1, an unsafe implementation in the click event listener used by ui.sub_pages, combined with attacker-controlled link rendering on the page, causes XSS when the user actively clicks on the link. This issue has been patched in version 3.5.0.

Original NVD text.

What to do

  1. Apply the vendor's security update for Nicegui.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI nicegui ≥ 2.22.0 < 3.5.0 3.5.0 pip install "nicegui>=3.5.0"
PyPI nicegui ≥ 2.22.0 < 3.5.0 3.5.0 pip install "nicegui>=3.5.0"

Per OSV / GitHub Advisories (GHSA-m7j5-rq9j-6jj9, PYSEC-2026-1701). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
zauberzeugnicegui≥ 2.22.0 < 3.5.0

Official sources

References

Links published by the sources. Open them with care.