chore(deps): update dependency nicegui to v3.9.0 [security]#498
Merged
nahua-aignx merged 1 commit intomainfrom Mar 20, 2026
Merged
chore(deps): update dependency nicegui to v3.9.0 [security]#498nahua-aignx merged 1 commit intomainfrom
nahua-aignx merged 1 commit intomainfrom
Conversation
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



This PR contains the following updates:
3.8.0→3.9.0GitHub Vulnerability Alerts
CVE-2026-33332
Summary
NiceGUI's
app.add_media_file()andapp.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 range-response implementation without validation, allowing an attacker to bypass chunked streaming and force the server to load entire files into memory at once.With large media files and concurrent requests, this can lead to excessive memory consumption, degraded performance, or denial of service.
Impact
Affected applications: NiceGUI applications that serve media content via
app.add_media_file()orapp.add_media_files(), particularly those serving large files (video, audio).What an attacker can do:
Attack difficulty: Low - requires only a crafted query parameter.
Remediation
Upgrade to a patched version of NiceGUI.
As a workaround, restrict access to media endpoints or strip unexpected query parameters at a reverse proxy layer.
Release Notes
zauberzeug/nicegui (nicegui)
v3.9.0Compare Source
Security
New features and enhancements
ui.parallaxelement based on Quasar Parallax (#4817 by @evnchn, @falkoschindler)ui.scene(#3710, #4820 by @javierlopezrodriguez, @evnchn, @falkoschindler)app.native(#3378, #5866 by @EmberLightVFX, @falkoschindler, @evnchn)app.clients()to return all clients when path isNone(#5853 by @AlePiccin, @evnchn, @falkoschindler)KWONLY_SLOTSconstant and inline@dataclassarguments (#5856 by @falkoschindler, @evnchn)Bugfixes
SessionMiddleware(#2578, #5857 by @denniswittich, @falkoschindler, @evnchn)ui.logscroll to bottom on Firefox (#5788, #5842 by @platinops, @falkoschindler, @evnchn)@ui.pageroutes (#5705, #5777, #5886 by @CatamountJack, @falkoschindler, @evnchn)ui.codeby always using DOMPurify (#5877 by @falkoschindler, @evnchn)find_speccrashes in compiled environments like PyInstaller (#5747, #5836 by @evnchn, @falkoschindler)@ui.refreshable_methodrefresh only updating last instance (#5888, #5890 by @rodja, @evnchn)Documentation
app.storage.individualAPI withapp.storage.user(#5874 by @KrilleGH)Testing
User.should_seefor child elements inside hidden containers (#5873 by @paco-sevilla, @falkoschindler)Usertest simulation for select options withNoneas value (#5880, #5883 by @atollk, @falkoschindler, @evnchn)ui.tabin user simulation (#5885, #5887 by @atollk, @falkoschindler, @evnchn)Dependencies
Special thanks to our top sponsors Lechler GmbH and TestMu AI ✨
and all our other sponsors and contributors for supporting this project!
🙏 Want to support this project? Check out our GitHub Sponsors page to help us keep building amazing features!
Configuration
📅 Schedule: Branch creation - "" in timezone Europe/Berlin, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.