CVE-2025-66470CWE-79cross-site-scripting

CVE-2025-66470

Medium · published December 9, 2025

CVSS v3.1
6.1
EPSS
0%
Percentile
16.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
6.1 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVSS v4.0
Not supplied
EPSS
0.00254 · 16.0th percentile
Weakness
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2025-12-09T06:16Z
Affected products (1)
ProductVersionsFixed in
zauberzeug/nicegui< 3.4.03.4.0
References (3)
EPSS history
Timeline
  • 09 DEC 00:11Z
    NiceGUI Stored/Reflected XSS in ui.interactive_image via unsanitized SVG content
    cvelistv5