MTIby Motiontic
Colour theme
VulnerabilityCVE-2026-21873GHSA-mhpg-c27v-6mxr

Zero-click XSS in all NiceGUI apps which uses `ui.sub_pages`

Not on CISA KEVCVSS 7.2 (v3.1)
  • Overview

Summary

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

See the full record, free

  • Every source, score and reference in one place
  • Timeline and related records
  • Watch an entry and get an alert when it changes

Sources and credits

  • CISA Vulnrichment Source: CISA Vulnrichment
  • CVE List Source: CVE Program (cve.org)
  • GitHub Advisory DB Source: GitHub Advisory Database (CC BY 4.0)