CVE Explorer
CVE-2026-21872
NiceGUI is a Python-based UI framework. From versions 2.22.0 to 3.4.1, an unsafe implementation in the click event listener used by ui.sub_pages, combined with attacker-controlled link rendering on the page, causes XSS when the user actively clicks on the link. This issue has been patched in version 3.5.0.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"nicegui","vendor":"zauberzeug","versions":[{"status":"affected","version":">= 2.22.0, < 3.5.0"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:6d353f23fd715c8e4294bc4723ad30338869d6ef561e2964e30bd0b2f57c779b · sha256:f638a38493f02ad0… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.1,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:6d353f23fd715c8e4294bc4723ad30338869d6ef561e2964e30bd0b2f57c779b · sha256:f638a38493f02ad0… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-79","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:6d353f23fd715c8e4294bc4723ad30338869d6ef561e2964e30bd0b2f57c779b · sha256:f638a38493f02ad0… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"name":"https://github.com/zauberzeug/nicegui/releases/tag/v3.5.0","tags":["x_refsource_MISC"],"url":"https://github.com/zauberzeug/nicegui/releases/tag/v3.5.0"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:6d353f23fd715c8e4294bc4723ad30338869d6ef561e2964e30bd0b2f57c779b · sha256:f638a38493f02ad0… · /containers/cna/references/1
{"name":"https://github.com/zauberzeug/nicegui/security/advisories/GHSA-m7j5-rq9j-6jj9","tags":["x_refsource_CONFIRM"],"url":"https://github.com/zauberzeug/nicegui/security/advisories/GHSA-m7j5-rq9j-6jj9"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:6d353f23fd715c8e4294bc4723ad30338869d6ef561e2964e30bd0b2f57c779b · sha256:f638a38493f02ad0… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.