CVE Explorer
CVE-2026-21873
NiceGUI is a Python-based UI framework. From versions 2.22.0 to 3.4.1, 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. 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:4753893f804b522e9f53f2dcd5dc82e373856fa5de6a88411846579b7b2af35e · sha256:6d081a595ab66205… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.2,"baseSeverity":"HIGH","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:4753893f804b522e9f53f2dcd5dc82e373856fa5de6a88411846579b7b2af35e · sha256:6d081a595ab66205… · /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:4753893f804b522e9f53f2dcd5dc82e373856fa5de6a88411846579b7b2af35e · sha256:6d081a595ab66205… · /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:4753893f804b522e9f53f2dcd5dc82e373856fa5de6a88411846579b7b2af35e · sha256:6d081a595ab66205… · /containers/cna/references/1
{"name":"https://github.com/zauberzeug/nicegui/security/advisories/GHSA-mhpg-c27v-6mxr","tags":["x_refsource_CONFIRM"],"url":"https://github.com/zauberzeug/nicegui/security/advisories/GHSA-mhpg-c27v-6mxr"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:4753893f804b522e9f53f2dcd5dc82e373856fa5de6a88411846579b7b2af35e · sha256:6d081a595ab66205… · /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.