Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:pypi/nicegui@2.22.0
purl pkg:pypi/nicegui@2.22.0
Next non-vulnerable version 3.7.0
Latest non-vulnerable version 3.12.0
Risk 4.0
Vulnerabilities affecting this package (3)
Vulnerability Summary Fixed by
VCID-f3yg-vbeb-9qgr
Aliases:
CVE-2026-21873
GHSA-mhpg-c27v-6mxr
NiceGUI apps which use `ui.sub_pages` vulnerable to zero-click XSS 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_.
3.5.0
Affected by 1 other vulnerability.
VCID-gk7h-2cu9-2uhm
Aliases:
CVE-2026-25732
GHSA-9ffm-fxg3-xrhh
PYSEC-2026-95
NiceGUI is a Python-based UI framework. Prior to 3.7.0, NiceGUI's FileUpload.name property exposes client-supplied filename metadata without sanitization, enabling path traversal when developers use the pattern UPLOAD_DIR / file.name. Malicious filenames containing ../ sequences allow attackers to write files outside intended directories, with potential for remote code execution through application file overwrites in vulnerable deployment patterns. This design creates a prevalent security footgun affecting applications following common community patterns. Note: Exploitation requires application code incorporating file.name into filesystem paths without sanitization. Applications using fixed paths, generated filenames, or explicit sanitization are not affected. This vulnerability is fixed in 3.7.0.
3.7.0
Affected by 0 other vulnerabilities.
VCID-xv1m-pvjj-mfhn
Aliases:
CVE-2026-21872
GHSA-m7j5-rq9j-6jj9
NiceGUI apps are vulnerable to XSS which uses `ui.sub_pages` and render arbitrary user-provided links An unsafe implementation in the `click` event listener used by `ui.sub_pages`, combined with attacker-controlled link rendering on the page, causes an XSS when the user actively clicks on the link.
3.5.0
Affected by 1 other vulnerability.
Vulnerabilities fixed by this package (0)
Vulnerability Summary Aliases
This package is not known to fix vulnerabilities.

Date Actor Action Vulnerability Source VulnerableCode Version
2026-05-31T09:47:23.019462+00:00 PyPI Importer Affected by VCID-gk7h-2cu9-2uhm https://osv-vulnerabilities.storage.googleapis.com/PyPI/all.zip 38.6.0
2026-05-31T01:06:27.926441+00:00 GHSA Importer Affected by VCID-f3yg-vbeb-9qgr https://github.com/advisories/GHSA-mhpg-c27v-6mxr 38.6.0
2026-05-31T01:06:27.888794+00:00 GHSA Importer Affected by VCID-xv1m-pvjj-mfhn https://github.com/advisories/GHSA-m7j5-rq9j-6jj9 38.6.0
2026-05-30T21:05:48.121761+00:00 GitLab Importer Affected by VCID-f3yg-vbeb-9qgr https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/nicegui/CVE-2026-21873.yml 38.6.0
2026-05-30T21:05:47.201256+00:00 GitLab Importer Affected by VCID-xv1m-pvjj-mfhn https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/nicegui/CVE-2026-21872.yml 38.6.0
2026-05-30T20:37:12.622633+00:00 Pypa Importer Affected by VCID-gk7h-2cu9-2uhm https://github.com/pypa/advisory-database/blob/main/vulns/nicegui/PYSEC-2026-95.yaml 38.6.0