PT-2025-49681 · Nicegui · Nicegui

CVE-2025-66469

·

Published

2025-12-08

·

Updated

2026-07-07

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

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2025-66469
GHSA-72QC-WXCH-74MG
PYSEC-2026-1697

Affected Products

Nicegui