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.
Metrics
Affected Vendors & Products
References
History
Tue, 09 Dec 2025 17:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
Tue, 09 Dec 2025 10:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Nicegui
Nicegui nicegui |
|
| Vendors & Products |
Nicegui
Nicegui nicegui |
Tue, 09 Dec 2025 00:00:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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. | |
| Title | NiceGUI Reflected XSS in ui.add_css, ui.add_scss, and ui.add_sass via Style Injection | |
| Weaknesses | CWE-79 | |
| References |
| |
| Metrics |
cvssV3_1
|
Status: PUBLISHED
Assigner: GitHub_M
Published: 2025-12-08T23:54:37.955Z
Updated: 2025-12-09T16:03:54.125Z
Reserved: 2025-12-02T15:43:16.586Z
Link: CVE-2025-66469
Updated: 2025-12-09T14:18:07.181Z
Status : Awaiting Analysis
Published: 2025-12-09T00:15:49.330
Modified: 2025-12-09T18:37:13.640
Link: CVE-2025-66469
No data.