SCA: security update for nicegui (GHSA-78qv-3mpx-9cqq)

high Tenable Cloud Security Plugin ID 438013

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2026-27156)

See Also

https://github.com/advisories/GHSA-78qv-3mpx-9cqq

Plugin Details

Severity: High

ID: 438013

Version: Revision 1.5

Type: Local

Family: SCA Checks

Published: 2/28/2026

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 2.3

Percentile: 9.42

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 4.7

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:N

CVSS Score Source: CVE-2026-27156

CVSS v3

Risk Factor: Medium

Base Score: 6.1

Temporal Score: 5.3

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

CVSS v4

Risk Factor: High

Base Score: 8.6

Threat Score: 6.1

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 2/24/2026

Vulnerability Publication Date: 2/24/2026

Reference Information

CVE: CVE-2026-27156

cwe: CWE-79