Live threats

All CVEs / Zauberzeug

CVE-2026-25516Zauberzeug Nicegui

Medium 6.1 No auth needed

Priority
52
CVSS 3.1
6.1
EPSS
—
Auth required
No
Published
Feb 6, 2026
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
SSVC (CISA)
Exploitation: none · 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. The ui.markdown() component uses the markdown2 library to convert markdown content to HTML, which is then rendered via innerHTML. By default, markdown2 allows raw HTML to pass through unchanged. This means that if an application renders user-controlled content through ui.markdown(), an attacker can inject malicious HTML containing JavaScript event handlers. Unlike other NiceGUI components that render HTML (ui.html(), ui.chat_message(), ui.interactive_image()), the ui.markdown() component does not provide or require a sanitize parameter, leaving applications vulnerable to XSS attacks. This vulnerability is fixed in 3.7.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.7.0 3.7.0 pip install "nicegui>=3.7.0"
PyPI nicegui < 3.7.0 3.7.0 pip install "nicegui>=3.7.0"

Per OSV / GitHub Advisories (GHSA-v82v-c5x8-w282, PYSEC-2026-2231). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
zauberzeugnicegui< 3.7.0

Official sources

References

Links published by the sources. Open them with care.