PyPI (Python)Worst: High17 advisories
nicegui: known vulnerabilities
nicegui has 17 reviewed security advisories in the GitHub Advisory Database — 6 high, 11 moderate. The most recent was published 2026-06-02. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the nicegui versions running across your servers, containers and images, and ranks what to patch first.
How to fix nicegui
Upgrade nicegui to a release at or above the fixed version shown for each advisory below. For PyPI (Python):
pip install --upgrade nicegui (pin nicegui>=3.12.0)
SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.
Advisories (17)
NiceGUI: Local file disclosure via Docutils file insertion in ui.restructured_text()
High 7.5 CWE-200
— Affected: before 3.12.0. Fixed in 3.12.0. Published 2026-06-02. GHSA-jfrm-rx66-g536 · CVE-2026-45553
NiceGUI: Unauthenticated log-volume denial of service in dynamic resource routes
Moderate 5.3 CWE-248 CWE-770
— Affected: before 3.12.0. Fixed in 3.12.0. Published 2026-06-02. GHSA-pq7c-x8g4-rvp6 · CVE-2026-45554
NiceGUI: Upload filename sanitization bypass via backslashes allows path traversal on Windows
Moderate 5.9 CWE-22
— Affected: before 3.10.0. Fixed in 3.10.0. Published 2026-04-08. GHSA-w8wv-vfpc-hw2w · CVE-2026-39844
NiceGUI's unvalidated chunk size parameter in media routes can cause memory exhaustion
Moderate 5.3 CWE-20 CWE-770
— Affected: before 3.9.0. Fixed in 3.9.0. Published 2026-03-24. GHSA-w5g8-5849-vj76 · CVE-2026-33332
NiceGUI vulnerable to XSS via Code Injection during client-side element function execution
Moderate 6.1 CWE-79
— Affected: before 3.8.0. Fixed in 3.8.0. Published 2026-02-24. GHSA-78qv-3mpx-9cqq · CVE-2026-27156
NiceGUI's Path Traversal via Unsanitized FileUpload.name Enables Arbitrary File Write
High 7.5 CWE-22 CWE-601
— Affected: before 3.7.0. Fixed in 3.7.0. Published 2026-02-06. GHSA-9ffm-fxg3-xrhh · CVE-2026-25732
NiceGUI's XSS vulnerability in ui.markdown() allows arbitrary JavaScript execution through unsanitized HTML content
Moderate 6.1 CWE-79
— Affected: before 3.7.0. Fixed in 3.7.0. Published 2026-02-06. GHSA-v82v-c5x8-w282 · CVE-2026-25516
NiceGUI is vulnerable to XSS via Unescaped URL in ui.navigate.history.push() / replace()
Moderate 6.1 CWE-79
— Affected: from 2.13.0 up to 3.5.0. Fixed in 3.5.0. Published 2026-01-08. GHSA-7grm-h62g-5m97 · CVE-2026-21871
NiceGUI apps are vulnerable to XSS which uses `ui.sub_pages` and render arbitrary user-provided links
Moderate 6.1 CWE-79
— Affected: from 2.22.0 up to 3.5.0. Fixed in 3.5.0. Published 2026-01-08. GHSA-m7j5-rq9j-6jj9 · CVE-2026-21872
NiceGUI apps which use `ui.sub_pages` vulnerable to zero-click XSS
High 7.2 CWE-79
— Affected: from 2.22.0 up to 3.5.0. Fixed in 3.5.0. Published 2026-01-08. GHSA-mhpg-c27v-6mxr · CVE-2026-21873
NiceGUI has Redis connection leak via tab storage causes service degradation
Moderate 5.3 CWE-772
— Affected: from 2.10.0 up to 3.5.0. Fixed in 3.5.0. Published 2026-01-08. GHSA-mp55-g7pj-rvm2 · CVE-2026-21874
NiceGUI Stored/Reflected XSS in ui.interactive_image via unsanitized SVG content
Moderate 6.1 CWE-79
— Affected: before 3.4.0. Fixed in 3.4.0. Published 2025-12-09. GHSA-2m4f-cg75-76w2 · CVE-2025-66470
NiceGUI Reflected XSS in ui.add_css, ui.add_scss, and ui.add_sass via Style Injection
Moderate 6.1 CWE-79
— Affected: before 3.4.0. Fixed in 3.4.0. Published 2025-12-09. GHSA-72qc-wxch-74mg · CVE-2025-66469
NiceGUI has a path traversal in app.add_media_files() allows arbitrary file read
High 7.5 CWE-22
— Affected: before 3.4.0. Fixed in 3.4.0. Published 2025-12-09. GHSA-hxp3-63hc-5366 · CVE-2025-66645
NiceGUI has a Reflected XSS
Moderate 6.1 CWE-79
— Affected: before 3.0.0. Fixed in 3.0.0. Published 2025-10-03. GHSA-8c95-hpq2-w46f · CVE-2025-53354
NiceGUI On Air authentication issue
High 7.5 CWE-287
— Affected: before 2.9.1. Fixed in 2.9.1. Published 2025-01-06. GHSA-v6jv-p6r8-j78w · CVE-2025-21618
NiceGUI allows potential access to local file system
High 8.2 CWE-22 CWE-23
— Affected: from 1.4.6 up to 1.4.21. Fixed in 1.4.21. Published 2024-04-12. GHSA-mwc7-64wg-pgvj · CVE-2024-32005
Find nicegui across your fleet
Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA,
CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month.
Start free.