Skip to content
CORVASEC — Knowledge Defends
Vulnerability Explorer›CVE-2025-53354
VULNERABILITY

CVE-2025-53354

Common Vulnerabilities and Exposures record

MEDIUM

Summary

NiceGUI is a Python-based UI framework. Versions 2.24.2 and below are at risk for Cross-Site Scripting (XSS) when developers render unescaped user input into the DOM using ui.html(). NiceGUI did not enforce HTML or JavaScript sanitization, so applications that directly combine components like ui.input() with ui.html() or ui.chat_message with HTML content without escaping may allow attackers to execute arbitrary JavaScript in the user’s browser. Applications that do not pass untrusted input into ui.html() are not affected. This issue is fixed in version 3.0.0.

Risk

CVSS
6.1
Severity
MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Timeline

Published
Oct 3, 2025 20:15
Modified
Oct 8, 2026 22:10
Last observed
Oct 12, 2026 10:09

CWE

CWE-79

References