Vulnerability

CVE-2025-66470

mediumCVSS 3.1 6.1Published 9 Dec 2025

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Zauberzeug nicegui

Weakness type

References

  • github.com /zauberzeug/nicegui/commit/58ad0b36e19922de16bbc79ea3ddd298…
  • github.com /zauberzeug/nicegui/security/advisories/GHSA-2m4f-cg75-76w2

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning