CVE-2025-66469CWE-79cross-site-scripting

CVE-2025-66469

Medium · published December 9, 2025

CVSS v3.1
6.1
EPSS
0%
Percentile
18.8
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
6.1 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVSS v4.0
Not supplied
EPSS
0.00275 · 18.8th percentile
Weakness
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2025-12-09T05:15Z
Affected products (1)
ProductVersionsFixed in
zauberzeug/nicegui< 3.4.03.4.0
References (3)
EPSS history
Timeline
  • 08 DEC 23:54Z
    NiceGUI Reflected XSS in ui.add_css, ui.add_scss, and ui.add_sass via Style Injection
    cvelistv5