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.
History

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published: 2025-12-09T00:11:14.690Z

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 : Awaiting Analysis

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

Modified: 2025-12-09T18:37:13.640

Link: CVE-2025-66470

cve-icon Redhat

No data.