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

CVE-2025-66469

Common Vulnerabilities and Exposures record

MEDIUM

Summary

NiceGUI is a Python-based UI framework. Versions 3.3.1 and below are vulnerable to Reflected XSS through its ui.add_css, ui.add_scss, and ui.add_sass functions. The functions lack proper sanitization or encoding for the JavaScript context they generate. An attacker can break out of the intended <style> or <script> tags by injecting closing tags (e.g., </style> or </script>), allowing for the execution of arbitrary JavaScript. This issue is fixed in version 3.4.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
Dec 9, 2025 00:15
Modified
Oct 19, 2026 19:10
Last observed
Oct 20, 2026 20:38

CWE

CWE-79

Affected product identifiers

cpe:2.3:a:zauberzeug:nicegui:*:*:*:*:*:*:*:*

References