Skip to main content
VulnerabilityPublished

CVE-2025-66470: NiceGUI Stored/Reflected XSS

Affects niceguiSource GCVE Database

0
Compare
Authoritative record:CVE-2025-66470· Medium 6.1

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

CVSS 3.1 base score
6.1Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.16.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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 9 Dec 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
PyPIniceguiAffected
  • <3.4.0
Fixed in
  • 3.4.0

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.

References

Community reviews

Loading reviews…