CVE-2025-53354zauberzeug nicegui
Medium 6.1 No auth needed
Follow: this CVE · zauberzeug · zauberzeug nicegui We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.1
- 6.1
- EPSS
- —
- Auth required
- No
- Published
- Oct 3, 2025
- Updated
- Oct 8, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
NiceGUI is a Python-based UI framework. Versions 2.24.2 and below are at risk for Cross-Site Scripting (XSS) when developers render unescaped user input into the DOM using ui.html(). NiceGUI did not enforce HTML or JavaScript sanitization, so applications that directly combine components like ui.input() with ui.html() or ui.chat_message with HTML content without escaping may allow attackers to execute arbitrary JavaScript in the user’s browser. Applications that do not pass untrusted input into ui.html() are not affected. This issue is fixed in version 3.0.0.
What to do
- Apply the vendor's security update for nicegui.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | nicegui |
< 3.0.0 |
3.0.0 |
pip install "nicegui>=3.0.0" |
| PyPI | nicegui |
< 3.0.0 |
3.0.0 |
pip install "nicegui>=3.0.0" |
Per OSV / GitHub Advisories (GHSA-8c95-hpq2-w46f, PYSEC-2026-1699). Check the version in your lockfile before upgrading.
Affected products
- zauberzeug · nicegui
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.