Live threats

All CVEs / Zauberzeug

CVE-2025-66469Zauberzeug Nicegui

Medium 6.1 No auth needed

Priority
52
CVSS 3.1
6.1
EPSS
—
Auth required
No
Published
Dec 9, 2025
Updated
Oct 19, 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. Versions 3.3.1 and below are vulnerable to Reflected XSS through its ui.add_css, ui.add_scss, and ui.add_sass functions. The functions lack proper sanitization or encoding for the JavaScript context they generate. An attacker can break out of the intended <style> or <script> tags by injecting closing tags (e.g., </style> or </script>), allowing for the execution of arbitrary JavaScript. This issue is fixed in version 3.4.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 < 3.4.0 3.4.0 pip install "nicegui>=3.4.0"
PyPI nicegui < 3.4.0 3.4.0 pip install "nicegui>=3.4.0"

Per OSV / GitHub Advisories (GHSA-72qc-wxch-74mg, PYSEC-2026-1697). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
zauberzeugnicegui< 3.4.0

Official sources

References

Links published by the sources. Open them with care.