CVE-2026-25516 NiceGUI's XSS vulnerability in ui.markdown() allows arbitrary JavaScript execution through unsanitized HTML content
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
Description
NiceGUI is a Python-based UI framework. The ui.markdown() component uses the markdown2 library to convert markdown content to HTML, which is then rendered via innerHTML. By default, markdown2 allows raw HTML to pass through unchanged. This means that if an application renders user-controlled content through ui.markdown(), an attacker can inject malicious HTML containing JavaScript event handlers. Unlike other NiceGUI components that render HTML (ui.html(), ui.chat_message(), ui.interactive_image()), the ui.markdown() component does not provide or require a sanitize parameter, leaving applications vulnerable to XSS attacks. This vulnerability is fixed in 3.7.0.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| pypi nicegui(PyPI) | < 3.7.0; <= 3.6.1; = 0.1.0; = 0.1.4 +298 more | 3.7.0 | Fixed |
| zauberzeug nicegui | < 3.7.0; = < 3.7.0 | 3.7.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi nicegui(PyPI) | < 3.7.0 | 3.7.0 |
| pypi nicegui(PyPI) | = 0.1.0 | No fix listed |
| pypi nicegui(PyPI) | = 0.1.4 | No fix listed |
| pypi nicegui(PyPI) | = 0.1.6 | No fix listed |
| pypi nicegui(PyPI) | = 0.2.0 | No fix listed |
| pypi nicegui(PyPI) | = 0.2.1 | No fix listed |
| pypi nicegui(PyPI) | = 0.2.10 | No fix listed |
| pypi nicegui(PyPI) | = 0.2.11 | No fix listed |
| pypi nicegui(PyPI) | = 0.2.12 | No fix listed |
| pypi nicegui(PyPI) | = 0.2.13 | No fix listed |
| pypi nicegui(PyPI) | = 0.2.14 | No fix listed |
| pypi nicegui(PyPI) | = 0.2.15 | No fix listed |
| pypi nicegui(PyPI) | = 0.2.2 | No fix listed |
| pypi nicegui(PyPI) | = 0.2.3 | No fix listed |
| pypi nicegui(PyPI) | = 0.2.4 | No fix listed |
| pypi nicegui(PyPI) | = 0.2.9 | No fix listed |
| pypi nicegui(PyPI) | = 0.3.0 | No fix listed |
| pypi nicegui(PyPI) | = 0.3.1 | No fix listed |
| pypi nicegui(PyPI) | = 0.3.2 | No fix listed |
| pypi nicegui(PyPI) | = 0.3.3 | No fix listed |
| pypi nicegui(PyPI) | = 0.3.4 | No fix listed |
| pypi nicegui(PyPI) | = 0.3.5 | No fix listed |
| pypi nicegui(PyPI) | = 0.3.6 | No fix listed |
| pypi nicegui(PyPI) | = 0.3.7 | No fix listed |
| pypi nicegui(PyPI) | = 0.3.8 | No fix listed |
Show 175 more
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi nicegui(PyPI) | = 0.3.9 | No fix listed |
| pypi nicegui(PyPI) | = 0.4.0 | No fix listed |
| pypi nicegui(PyPI) | = 0.4.1 | No fix listed |
| pypi nicegui(PyPI) | = 0.4.10 | No fix listed |
| pypi nicegui(PyPI) | = 0.4.11 | No fix listed |
| pypi nicegui(PyPI) | = 0.4.12 | No fix listed |
| pypi nicegui(PyPI) | = 0.4.13 | No fix listed |
| pypi nicegui(PyPI) | = 0.4.14 | No fix listed |
| pypi nicegui(PyPI) | = 0.4.15 | No fix listed |
| pypi nicegui(PyPI) | = 0.4.2 | No fix listed |
| pypi nicegui(PyPI) | = 0.4.3 | No fix listed |
| pypi nicegui(PyPI) | = 0.4.4 | No fix listed |
| pypi nicegui(PyPI) | = 0.4.5 | No fix listed |
| pypi nicegui(PyPI) | = 0.4.6 | No fix listed |
| pypi nicegui(PyPI) | = 0.4.7 | No fix listed |
| pypi nicegui(PyPI) | = 0.4.8 | No fix listed |
| pypi nicegui(PyPI) | = 0.4.9 | No fix listed |
| pypi nicegui(PyPI) | = 0.5.0 | No fix listed |
| pypi nicegui(PyPI) | = 0.5.1 | No fix listed |
| pypi nicegui(PyPI) | = 0.5.10 | No fix listed |
| pypi nicegui(PyPI) | = 0.5.11 | No fix listed |
| pypi nicegui(PyPI) | = 0.5.12 | No fix listed |
| pypi nicegui(PyPI) | = 0.5.2 | No fix listed |
| pypi nicegui(PyPI) | = 0.5.3 | No fix listed |
| pypi nicegui(PyPI) | = 0.5.4 | No fix listed |
| pypi nicegui(PyPI) | = 0.5.5 | No fix listed |
| pypi nicegui(PyPI) | = 0.5.6 | No fix listed |
| pypi nicegui(PyPI) | = 0.5.7 | No fix listed |
| pypi nicegui(PyPI) | = 0.5.8 | No fix listed |
| pypi nicegui(PyPI) | = 0.5.9 | No fix listed |
| pypi nicegui(PyPI) | = 0.6.0 | No fix listed |
| pypi nicegui(PyPI) | = 0.6.1 | No fix listed |
| pypi nicegui(PyPI) | = 0.6.10 | No fix listed |
| pypi nicegui(PyPI) | = 0.6.11 | No fix listed |
| pypi nicegui(PyPI) | = 0.6.12 | No fix listed |
| pypi nicegui(PyPI) | = 0.6.13 | No fix listed |
| pypi nicegui(PyPI) | = 0.6.2 | No fix listed |
| pypi nicegui(PyPI) | = 0.6.3 | No fix listed |
| pypi nicegui(PyPI) | = 0.6.4 | No fix listed |
| pypi nicegui(PyPI) | = 0.6.5 | No fix listed |
| pypi nicegui(PyPI) | = 0.6.6 | No fix listed |
| pypi nicegui(PyPI) | = 0.6.7 | No fix listed |
| pypi nicegui(PyPI) | = 0.6.8 | No fix listed |
| pypi nicegui(PyPI) | = 0.6.9 | No fix listed |
| pypi nicegui(PyPI) | = 0.7.0 | No fix listed |
| pypi nicegui(PyPI) | = 0.7.1 | No fix listed |
| pypi nicegui(PyPI) | = 0.7.10 | No fix listed |
| pypi nicegui(PyPI) | = 0.7.11 | No fix listed |
| pypi nicegui(PyPI) | = 0.7.12 | No fix listed |
| pypi nicegui(PyPI) | = 0.7.13 | No fix listed |
| pypi nicegui(PyPI) | = 0.7.14 | No fix listed |
| pypi nicegui(PyPI) | = 0.7.15 | No fix listed |
| pypi nicegui(PyPI) | = 0.7.16 | No fix listed |
| pypi nicegui(PyPI) | = 0.7.17 | No fix listed |
| pypi nicegui(PyPI) | = 0.7.18 | No fix listed |
| pypi nicegui(PyPI) | = 0.7.19 | No fix listed |
| pypi nicegui(PyPI) | = 0.7.2 | No fix listed |
| pypi nicegui(PyPI) | = 0.7.21 | No fix listed |
| pypi nicegui(PyPI) | = 0.7.22 | No fix listed |
| pypi nicegui(PyPI) | = 0.7.23 | No fix listed |
| pypi nicegui(PyPI) | = 0.7.24 | No fix listed |
| pypi nicegui(PyPI) | = 0.7.25 | No fix listed |
| pypi nicegui(PyPI) | = 0.7.26 | No fix listed |
| pypi nicegui(PyPI) | = 0.7.27 | No fix listed |
| pypi nicegui(PyPI) | = 0.7.28 | No fix listed |
| pypi nicegui(PyPI) | = 0.7.29 | No fix listed |
| pypi nicegui(PyPI) | = 0.7.3 | No fix listed |
| pypi nicegui(PyPI) | = 0.7.30 | No fix listed |
| pypi nicegui(PyPI) | = 0.7.4 | No fix listed |
| pypi nicegui(PyPI) | = 0.7.6 | No fix listed |
| pypi nicegui(PyPI) | = 0.7.7 | No fix listed |
| pypi nicegui(PyPI) | = 0.7.8 | No fix listed |
| pypi nicegui(PyPI) | = 0.7.9 | No fix listed |
| pypi nicegui(PyPI) | = 0.8.0 | No fix listed |
| pypi nicegui(PyPI) | = 0.8.1 | No fix listed |
| pypi nicegui(PyPI) | = 0.8.10 | No fix listed |
| pypi nicegui(PyPI) | = 0.8.11 | No fix listed |
| pypi nicegui(PyPI) | = 0.8.12 | No fix listed |
| pypi nicegui(PyPI) | = 0.8.13 | No fix listed |
| pypi nicegui(PyPI) | = 0.8.14 | No fix listed |
| pypi nicegui(PyPI) | = 0.8.15 | No fix listed |
| pypi nicegui(PyPI) | = 0.8.16 | No fix listed |
| pypi nicegui(PyPI) | = 0.8.2 | No fix listed |
| pypi nicegui(PyPI) | = 0.8.3 | No fix listed |
| pypi nicegui(PyPI) | = 0.8.4 | No fix listed |
| pypi nicegui(PyPI) | = 0.8.5 | No fix listed |
| pypi nicegui(PyPI) | = 0.8.6 | No fix listed |
| pypi nicegui(PyPI) | = 0.8.7 | No fix listed |
| pypi nicegui(PyPI) | = 0.8.8 | No fix listed |
| pypi nicegui(PyPI) | = 0.8.9 | No fix listed |
| pypi nicegui(PyPI) | = 0.9.0 | No fix listed |
| pypi nicegui(PyPI) | = 0.9.1 | No fix listed |
| pypi nicegui(PyPI) | = 0.9.10 | No fix listed |
| pypi nicegui(PyPI) | = 0.9.11 | No fix listed |
| pypi nicegui(PyPI) | = 0.9.12 | No fix listed |
| pypi nicegui(PyPI) | = 0.9.13 | No fix listed |
| pypi nicegui(PyPI) | = 0.9.14 | No fix listed |
| pypi nicegui(PyPI) | = 0.9.15 | No fix listed |
| pypi nicegui(PyPI) | = 0.9.16 | No fix listed |
| pypi nicegui(PyPI) | = 0.9.17 | No fix listed |
| pypi nicegui(PyPI) | = 0.9.18 | No fix listed |
| pypi nicegui(PyPI) | = 0.9.19 | No fix listed |
| pypi nicegui(PyPI) | = 0.9.2 | No fix listed |
| pypi nicegui(PyPI) | = 0.9.20 | No fix listed |
| pypi nicegui(PyPI) | = 0.9.21 | No fix listed |
| pypi nicegui(PyPI) | = 0.9.22 | No fix listed |
| pypi nicegui(PyPI) | = 0.9.23 | No fix listed |
| pypi nicegui(PyPI) | = 0.9.24 | No fix listed |
| pypi nicegui(PyPI) | = 0.9.25 | No fix listed |
| pypi nicegui(PyPI) | = 0.9.26 | No fix listed |
| pypi nicegui(PyPI) | = 0.9.27 | No fix listed |
| pypi nicegui(PyPI) | = 0.9.28 | No fix listed |
| pypi nicegui(PyPI) | = 0.9.3 | No fix listed |
| pypi nicegui(PyPI) | = 0.9.4 | No fix listed |
| pypi nicegui(PyPI) | = 0.9.5 | No fix listed |
| pypi nicegui(PyPI) | = 0.9.6 | No fix listed |
| pypi nicegui(PyPI) | = 0.9.7 | No fix listed |
| pypi nicegui(PyPI) | = 0.9.8 | No fix listed |
| pypi nicegui(PyPI) | = 0.9.9 | No fix listed |
| pypi nicegui(PyPI) | = 1.0.1 | No fix listed |
| pypi nicegui(PyPI) | = 1.0.10 | No fix listed |
| pypi nicegui(PyPI) | = 1.0.2 | No fix listed |
| pypi nicegui(PyPI) | = 1.0.3 | No fix listed |
| pypi nicegui(PyPI) | = 1.0.4 | No fix listed |
| pypi nicegui(PyPI) | = 1.0.5 | No fix listed |
| pypi nicegui(PyPI) | = 1.0.6 | No fix listed |
| pypi nicegui(PyPI) | = 1.0.7 | No fix listed |
| pypi nicegui(PyPI) | = 1.0.8 | No fix listed |
| pypi nicegui(PyPI) | = 1.0.9 | No fix listed |
| pypi nicegui(PyPI) | = 1.1.0 | No fix listed |
| pypi nicegui(PyPI) | = 1.1.1 | No fix listed |
| pypi nicegui(PyPI) | = 1.1.10 | No fix listed |
| pypi nicegui(PyPI) | = 1.1.11 | No fix listed |
| pypi nicegui(PyPI) | = 1.1.2 | No fix listed |
| pypi nicegui(PyPI) | = 1.1.3 | No fix listed |
| pypi nicegui(PyPI) | = 1.1.4 | No fix listed |
| pypi nicegui(PyPI) | = 1.1.5 | No fix listed |
| pypi nicegui(PyPI) | = 1.1.6 | No fix listed |
| pypi nicegui(PyPI) | = 1.1.7 | No fix listed |
| pypi nicegui(PyPI) | = 1.1.8 | No fix listed |
| pypi nicegui(PyPI) | = 1.1.9 | No fix listed |
| pypi nicegui(PyPI) | = 1.2.0 | No fix listed |
| pypi nicegui(PyPI) | = 1.2.1 | No fix listed |
| pypi nicegui(PyPI) | = 1.2.10 | No fix listed |
| pypi nicegui(PyPI) | = 1.2.11 | No fix listed |
| pypi nicegui(PyPI) | = 1.2.12 | No fix listed |
| pypi nicegui(PyPI) | = 1.2.13 | No fix listed |
| pypi nicegui(PyPI) | = 1.2.14 | No fix listed |
| pypi nicegui(PyPI) | = 1.2.15 | No fix listed |
| pypi nicegui(PyPI) | = 1.2.16 | No fix listed |
| pypi nicegui(PyPI) | = 1.2.17 | No fix listed |
| pypi nicegui(PyPI) | = 1.2.18 | No fix listed |
| pypi nicegui(PyPI) | = 1.2.2 | No fix listed |
| pypi nicegui(PyPI) | = 1.2.20 | No fix listed |
| pypi nicegui(PyPI) | = 1.2.21 | No fix listed |
| pypi nicegui(PyPI) | = 1.2.22 | No fix listed |
| pypi nicegui(PyPI) | = 1.2.23 | No fix listed |
| pypi nicegui(PyPI) | = 1.2.24 | No fix listed |
| pypi nicegui(PyPI) | = 1.2.3 | No fix listed |
| pypi nicegui(PyPI) | = 1.2.4 | No fix listed |
| pypi nicegui(PyPI) | = 1.2.5 | No fix listed |
| pypi nicegui(PyPI) | = 1.2.6 | No fix listed |
| pypi nicegui(PyPI) | = 1.2.7 | No fix listed |
| pypi nicegui(PyPI) | = 1.2.8 | No fix listed |
| pypi nicegui(PyPI) | = 1.2.9 | No fix listed |
| pypi nicegui(PyPI) | = 1.3.0 | No fix listed |
| pypi nicegui(PyPI) | = 1.3.1 | No fix listed |
| pypi nicegui(PyPI) | = 1.3.10 | No fix listed |
| pypi nicegui(PyPI) | = 1.3.11 | No fix listed |
| pypi nicegui(PyPI) | = 1.3.12 | No fix listed |
| pypi nicegui(PyPI) | = 1.3.13 | No fix listed |
| pypi nicegui(PyPI) | = 1.3.14 | No fix listed |
| pypi nicegui(PyPI) | = 1.3.15 | No fix listed |
| pypi nicegui(PyPI) | = 1.3.16 | No fix listed |
| pypi nicegui(PyPI) | = 1.3.17 | No fix listed |
References
- https://github.com/zauberzeug/nicegui/security/advisories/GHSA-v82v-c5x8-w282 exploit mitigation vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/zauberzeug/nicegui/commit/f1f7533577875af7d23f161ed3627f73584cb561 patch
- github.com product
- github.com