CVE-2025-66470 json
NiceGUI Stored/Reflected XSS in ui.interactive_image via unsanitized SVG content
published 11mo ago modified last mo. also GHSA-2m4f-cg75-76w2 , PYSEC-2026-1696 , EUVD-2025-201813
- cvss
- 6.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 19%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
Is CVE-2025-66470 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 11mo ago
Exploit prediction
0.27% chance of exploitation in the next 30 days, higher than 19% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/zauberzeug/nicegui/security/advisories/GHSA-2m4f-cg75-76w2 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | nicegui | <3.4.0 |
3.4.0 |
Affected products
- zauberzeug nicegui
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/zauberzeug/nicegui/commit/58ad0b36e19922de16bbc79ea3ddd29851b1a3e3
web, patch
-
github.com
/zauberzeug/nicegui/security/advisories/GHSA-2m4f-cg75-76w2
exploit, web, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2025-66470
advisory
-
github.com
/zauberzeug/nicegui
package
-
pypi.org
/project/nicegui
package
-
github.com
/advisories/GHSA-2m4f-cg75-76w2
advisory
Sources
- CVE List CVE-2025-66470
- GitHub Advisory GHSA-2m4f-cg75-76w2
- NVD CVE-2025-66470
- OSV PYSEC-2026-1696
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.