CVE-2026-27156
中文标题:
(暂无数据)
英文标题:
NiceGUI has XSS via Code Injection
漏洞描述
中文描述:
(暂无数据)
英文描述:
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.
CWE类型:
标签:
受影响产品
| 厂商 | 产品 | 版本 | 版本范围 | 平台 | CPE |
|---|---|---|---|---|---|
| zauberzeug | nicegui | < 3.8.0 | - | - |
cpe:2.3:a:zauberzeug:nicegui:<_3.8.0:*:*:*:*:*:*:*
|
| zauberzeug | nicegui | * | - | - |
cpe:2.3:a:zauberzeug:nicegui:*:*:*:*:*:*:*:*
|
解决方案
中文解决方案:
英文解决方案:
临时解决方案:
CVSS评分详情
3.1 (cna)
MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
时间信息
利用信息
数据源详情
| 数据源 | 记录ID | 版本 | 提取时间 |
|---|---|---|---|
| CVE | cve_CVE-2026-27156 |
2026-02-25 03:19:54 | 2026-02-24 22:00:01 |
| NVD | nvd_CVE-2026-27156 |
2026-02-25 02:00:04 | 2026-02-24 22:00:03 |
版本与语言
安全公告
变更历史
查看详细变更
- affected_products_count: 1 -> 2
查看详细变更
- data_sources: ['cve'] -> ['cve', 'nvd']