CVE-2025-66470: NiceGUI Stored/Reflected XSS
Affects niceguiSource GCVE Database
Not known to be exploited · CVSS 6.1 Medium : upgrade to 3.4.0 when convenient.
Data as of 27 Nov 2026, 04:50 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 6.1 |
|---|
- Patch
- Available – fixed in 3.4.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 9 Dec 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Nov 2026.
What to do
Upgrade nicegui to 3.4.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| PyPInicegui | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available in NiceGUI version 3.4.0 that fixes this vulnerability. Users should upgrade to version 3.4.0 or later to remediate this issue. Until upgraded, avoid passing untrusted or user-controlled SVG content to the ui.interactive_image component or ensure proper sanitization before rendering.
Description
A Cross-Site Scripting (XSS) vulnerability exists in the ui.interactive_image component of NiceGUI versions prior to 3.4.0. The component renders SVG content using Vue's v-html directive without sanitization, allowing injection of malicious HTML or JavaScript via the SVG foreignObject tag. This can lead to script execution when the image component is rendered or updated, posing a moderate security risk especially in multi-user or dashboard applications.