Vulnerability

CVE-2026-21872

mediumCVSS 3.1 6.1Published 8 Jan 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Zauberzeug nicegui

Weakness type

References

  • github.com /zauberzeug/nicegui/releases/tag/v3.5.0
  • github.com /zauberzeug/nicegui/security/advisories/GHSA-m7j5-rq9j-6jj9

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning