Lookup for vulnerable packages by Package URL.
| Purl | pkg:pypi/nicegui@2.22.0 |
| Type | pypi |
| Namespace | |
| Name | nicegui |
| Version | 2.22.0 |
| Qualifiers |
|
| Subpath | |
| Is_vulnerable | true |
| Next_non_vulnerable_version | 3.7.0 |
| Latest_non_vulnerable_version | 3.12.0 |
| Affected_by_vulnerabilities |
| 0 |
| url |
VCID-f3yg-vbeb-9qgr |
| vulnerability_id |
VCID-f3yg-vbeb-9qgr |
| summary |
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_. |
| references |
|
| fixed_packages |
|
| aliases |
CVE-2026-21873, GHSA-mhpg-c27v-6mxr
|
| risk_score |
4.0 |
| exploitability |
0.5 |
| weighted_severity |
8.0 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-f3yg-vbeb-9qgr |
|
| 1 |
| url |
VCID-gk7h-2cu9-2uhm |
| vulnerability_id |
VCID-gk7h-2cu9-2uhm |
| summary |
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. |
| references |
|
| fixed_packages |
|
| aliases |
CVE-2026-25732, GHSA-9ffm-fxg3-xrhh, PYSEC-2026-95
|
| risk_score |
4.0 |
| exploitability |
0.5 |
| weighted_severity |
8.0 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-gk7h-2cu9-2uhm |
|
| 2 |
| url |
VCID-xv1m-pvjj-mfhn |
| vulnerability_id |
VCID-xv1m-pvjj-mfhn |
| summary |
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. |
| references |
|
| fixed_packages |
|
| aliases |
CVE-2026-21872, GHSA-m7j5-rq9j-6jj9
|
| risk_score |
3.1 |
| exploitability |
0.5 |
| weighted_severity |
6.2 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-xv1m-pvjj-mfhn |
|
|
| Fixing_vulnerabilities |
|
| Risk_score | 4.0 |
| Resource_url | http://public2.vulnerablecode.io/packages/pkg:pypi/nicegui@2.22.0 |