MTIby Motiontic
Colour theme
VulnerabilityCVE-2026-21871GHSA-7grm-h62g-5m97

NiceGUI is vulnerable to XSS via Unescaped URL in ui.navigate.history.push() / replace()

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

Summary

NiceGUI is a Python-based UI framework. From versions 2.13.0 to 3.4.1, there is a XSS risk in NiceGUI when developers pass attacker-controlled strings into ui.navigate.history.push() or ui.navigate.history.replace(). These helpers are documented as History API wrappers for updating the browser URL

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)