Skip to content
OpenAdvisories

Package · PyPI

nicegui

17 known vulnerabilities.

11 results · Clear filters · Feed

  • Medium 5.3

    NiceGUI: Unauthenticated log-flood DoS via trailing slash on ESM and per-component resource routes

    NiceGUI is a Python-based UI framework. Prior to version 3.12.0, two FastAPI routes that serve per-component static assets in NiceGUI accept a sub-path parameter that may resolve to a directory rather than a file. Requests that resolve to a directory raise an…

  • Medium 5.9

    NiceGUI has a Path Traversal in NiceGUI Upload Filename on Windows via Backslash Bypass of PurePosixPath Sanitization

    NiceGUI is a Python-based UI framework. Prior to 3.10.0, Since PurePosixPath only recognizes forward slashes (/) as path separators, an attacker can bypass this sanitization on Windows by using backslashes (\) in the upload filename. Applications that constru…

  • Medium 6.9

    NiceGUI's unvalidated chunk size parameter in media routes can cause memory exhaustion

    NiceGUI is a Python-based UI framework. Prior to version 3.9.0, NiceGUI's app.add_media_file() and app.add_media_files() media routes accept a user-controlled query parameter that influences how files are read during streaming. The parameter is passed to the …

  • Medium 6.1

    NiceGUI has XSS via Code Injection

    NiceGUI is a Python-based UI framework. Prior to version 3.8.0, several NiceGUI APIs that execute methods on client-side elements (`Element.run_method()`, `AgGrid.run_grid_method()`, `EChart.run_chart_method()`, and others) use an `eval()` fallback in the Jav…

  • Medium 6.1

    NiceGUI's XSS vulnerability in ui.markdown() allows arbitrary JavaScript execution through unsanitized HTML content

    NiceGUI is a Python-based UI framework. The ui.markdown() component uses the markdown2 library to convert markdown content to HTML, which is then rendered via innerHTML. By default, markdown2 allows raw HTML to pass through unchanged. This means that if an ap…

  • Medium 5.3

    NiceGUI has Redis connection leak via tab storage causes service degradation

    NiceGUI is a Python-based UI framework. From versions v2.10.0 to 3.4.1, an unauthenticated attacker can exhaust Redis connections by repeatedly opening and closing browser tabs on any NiceGUI application using Redis-backed storage. Connections are never relea…

  • Medium 6.1

    NiceGUI apps are vulnerable to XSS which uses `ui.sub_pages` and render arbitrary user-provided links

    NiceGUI is a Python-based UI framework. From versions 2.22.0 to 3.4.1, an unsafe implementation in the click event listener used by ui.sub_pages, combined with attacker-controlled link rendering on the page, causes XSS when the user actively clicks on the lin…

  • Medium 6.1

    NiceGUI is vulnerable to XSS via Unescaped URL in ui.navigate.history.push() / replace()

    NiceGUI is a Python-based UI framework. From versions 2.13.0 to 3.4.1, there is a XSS risk in NiceGUI when developers pass attacker-controlled strings into ui.navigate.history.push() or ui.navigate.history.replace(). These helpers are documented as History AP…

  • Medium 6.1
    CVE-2025-66470 Public exploit

    NiceGUI Stored/Reflected XSS in ui.interactive_image via unsanitized SVG content

    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 att…

  • Medium 6.1

    NiceGUI Reflected XSS in ui.add_css, ui.add_scss, and ui.add_sass via Style Injection

    NiceGUI is a Python-based UI framework. Versions 3.3.1 and below are vulnerable to Reflected XSS through its ui.add_css, ui.add_scss, and ui.add_sass functions. The functions lack proper sanitization or encoding for the JavaScript context they generate. An at…

  • Medium 6.1

    NiceGUI is vulnerable to Reflected XSS attack

    NiceGUI is a Python-based UI framework. Versions 2.24.2 and below are at risk for Cross-Site Scripting (XSS) when developers render unescaped user input into the DOM using ui.html(). NiceGUI did not enforce HTML or JavaScript sanitization, so applications tha…