CVE 6.1 MEDIUM

NiceGUI is vulnerable to Reflected XSS attack_CVE-2025-53354

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

Description

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.

Basic Information

ID CVE-2025-53354
Source GitHub_M
Published Oct 3, 2025 at 19:32
Modified Oct 3, 2025 at 19:42

Affected Product

Vendor zauberzeug
Product nicegui
Version < 3.0.0
Affected Versions zauberzeug nicegui < 3.0.0

CWE Classification

References

πŸ’­ Join the Security Discussion

πŸ”’ Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.