PT-2026-2110 · Nicegui · Nicegui

Xx-Mikusan-Xx

·

Publicado

2026-01-08

·

Atualizado

2026-01-08

·

CVE-2026-21871

CVSS v3.1

6.1

Média

VetorAV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions NiceGUI versions 2.13.0 through 3.4.1
Description NiceGUI is a Python-based UI framework susceptible to a cross-site scripting (XSS) issue. The issue arises when developers provide attacker-controlled strings to the ui.navigate.history.push() or ui.navigate.history.replace() functions. These functions, designed as History API wrappers for updating the browser URL without a page reload, can allow a crafted payload to execute arbitrary JavaScript in the victim’s browser if the URL argument is embedded into generated JavaScript without proper escaping. Applications that do not pass untrusted input into these functions are not affected. The functions ui.navigate.history.push() and ui.navigate.history.replace() are vulnerable.
Recommendations NiceGUI versions 2.13.0 through 3.4.1 should be updated to version 3.5.0 or later.

Exploit

Correção

XSS

Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾

Enumeração de Fraquezas

Identificadores relacionados

CVE-2026-21871
GHSA-7GRM-H62G-5M97

Produtos afetados

Nicegui