Live threats

All CVEs / Zauberzeug

CVE-2026-21873Zauberzeug 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: yes · 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 pushstate event listener used by ui.sub_pages allows an attacker to manipulate the fragment identifier of the URL, which they can do despite being cross-site, using an iframe. 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-mhpg-c27v-6mxr, PYSEC-2026-1702). 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.