NiceGUI is a Python-based UI framework. Versions 3.3.1 and below are subject to a XSS vulnerability through the ui.interactive_image component of NiceGUI. The component renders SVG content using Vue's v-html directive without any sanitization. This allows attackers to inject malicious HTML or JavaScript via the SVG <foreignObject> tag whenever the image component is rendered or updated. This is particularly dangerous for dashboards or multi-user applications displaying user-generated content or annotations. This issue is fixed in version 3.4.0.

Project Subscriptions

Vendors Products
Nicegui Subscribe
Nicegui Subscribe
Zauberzeug Subscribe
Nicegui Subscribe
Advisories
Source ID Title
Github GHSA Github GHSA GHSA-2m4f-cg75-76w2 NiceGUI Stored/Reflected XSS in ui.interactive_image via unsanitized SVG content
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Thu, 11 Dec 2025 19:00:00 +0000

Type Values Removed Values Added
First Time appeared Zauberzeug
Zauberzeug nicegui
CPEs cpe:2.3:a:zauberzeug:nicegui:*:*:*:*:*:*:*:*
Vendors & Products Zauberzeug
Zauberzeug nicegui

Tue, 09 Dec 2025 16:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 09 Dec 2025 10:15:00 +0000

Type Values Removed Values Added
First Time appeared Nicegui
Nicegui nicegui
Vendors & Products Nicegui
Nicegui nicegui

Tue, 09 Dec 2025 00:30:00 +0000

Type Values Removed Values Added
Description NiceGUI is a Python-based UI framework. Versions 3.3.1 and below are subject to a XSS vulnerability through the ui.interactive_image component of NiceGUI. The component renders SVG content using Vue's v-html directive without any sanitization. This allows attackers to inject malicious HTML or JavaScript via the SVG <foreignObject> tag whenever the image component is rendered or updated. This is particularly dangerous for dashboards or multi-user applications displaying user-generated content or annotations. This issue is fixed in version 3.4.0.
Title NiceGUI Stored/Reflected XSS in ui.interactive_image via unsanitized SVG content
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2025-12-09T16:03:45.875Z

Reserved: 2025-12-02T15:43:16.586Z

Link: CVE-2025-66470

cve-icon Vulnrichment

Updated: 2025-12-09T14:17:57.442Z

cve-icon NVD

Status : Analyzed

Published: 2025-12-09T01:16:54.957

Modified: 2025-12-11T18:49:47.080

Link: CVE-2025-66470

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2025-12-09T10:04:45Z

Weaknesses