PT-2025-49681 · Nicegui · Nicegui
Published
2025-12-08
·
Updated
2025-12-22
·
CVE-2025-66469
CVSS v3.1
6.1
Medium
| Vector | AV: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 3.3.1 and below
Description
NiceGUI, a Python-based UI framework, has an issue where the
ui.add css, ui.add scss, and ui.add sass functions do not properly sanitize or encode JavaScript contexts. This allows an attacker to inject closing tags, such as or , to break out of intended tags and execute arbitrary JavaScript. The functions are vulnerable due to a lack of proper sanitization or encoding.Recommendations
Update to version 3.4.0 or later.
Exploit
Fix
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Nicegui