{"cve":"CVE-2025-66470","nvd":{"published":"2025-12-09T01:16:54.957","modified":"2026-10-07T20:10:01.970","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1},"cwes":["CWE-79"],"references":["https://github.com/zauberzeug/nicegui/commit/58ad0b36e19922de16bbc79ea3ddd29851b1a3e3","https://github.com/zauberzeug/nicegui/security/advisories/GHSA-2m4f-cg75-76w2","https://github.com/zauberzeug/nicegui/security/advisories/GHSA-2m4f-cg75-76w2"],"products":["zauberzeug:nicegui"],"source":"nvd","synced_at":"2026-10-19T22:16:40.427100871+00:00"},"epss":{"cve":"CVE-2025-66470","score":0.00254,"percentile":0.16776,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-2m4f-cg75-76w2","url":"https://osv.dev/vulnerability/GHSA-2m4f-cg75-76w2","summary":"NiceGUI Stored/Reflected XSS in ui.interactive_image via unsanitized SVG content","modified":"2026-07-07T17:56:37.836933471Z","packages":[{"ecosystem":"PyPI","name":"nicegui","purl":"pkg:pypi/nicegui","ranges":["<3.4.0"],"fixed":["3.4.0"]}]},{"id":"PYSEC-2026-1696","url":"https://osv.dev/vulnerability/PYSEC-2026-1696","summary":"NiceGUI Stored/Reflected XSS in ui.interactive_image via unsanitized SVG content","modified":"2026-07-07T17:46:58.060549429Z","packages":[{"ecosystem":"PyPI","name":"nicegui","purl":"pkg:pypi/nicegui","ranges":["<3.4.0"],"fixed":["3.4.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}