PT-2025-49681 · Nicegui · Nicegui

Published

2025-12-08

·

Updated

2025-12-22

·

CVE-2025-66469

CVSS v3.1

6.1

Medium

VectorAV: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

Weakness Enumeration

Related Identifiers

CVE-2025-66469
GHSA-72QC-WXCH-74MG

Affected Products

Nicegui