Skip to content

CVE-2026-27156 NiceGUI has XSS via Code Injection

MediumCVSS 6.1 EPSS 0.20%
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. Prior to version 3.8.0, several NiceGUI APIs that execute methods on client-side elements (Element.run_method(), AgGrid.run_grid_method(), EChart.run_chart_method(), and others) use an eval() fallback in the JavaScript-side runMethod() function. When user-controlled input is passed as the method name, an attacker can inject arbitrary JavaScript that executes in the victim's browser. Additionally, Element.run_method() and Element.get_computed_prop() used string interpolation instead of json.dumps() for the method/property name, allowing quote injection to break out of the intended string context. Version 3.8.0 contains a fix.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
pypi nicegui(PyPI) < 3.8.0; <= 3.7.1; = 0.1.0; = 0.1.4 +300 more 3.8.0 Fixed
zauberzeug nicegui < 3.8.0; = < 3.8.0 3.8.0 Fixed

Affected products

ProductAffected versionsFixed in
pypi nicegui(PyPI) < 3.8.0 3.8.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
ProductAffected versionsFixed 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