drop support for Python 3.8 and 3.9
add support for Python 3.13
migrate from setup.py to pyproject.toml configuration
fix doc building on read the docs
SECURITY FIX: Fix critical path traversal and extension bypass vulnerability (CVE pending, CVSS 9.8)
- Apply
secure_filename()to thenameparameter to prevent path traversal attacks - Re-validate file extension after
nameoverride to prevent extension bypass - Add path containment check to ensure files are saved within the upload directory
- Sanitize folder component when extracted from
nameparameter
Impact: This vulnerability allowed remote attackers to write files to arbitrary locations on the filesystem and bypass extension restrictions, potentially leading to remote code execution via Server-Side Template Injection (SSTI) in Flask applications.
Credit: Jaron Cabral (Cal Poly Humboldt) for discovery and reporting
Recommendation: All users should upgrade to this version immediately. Do not pass user-controlled input to the
nameparameter in older versions.- Apply
- fix deprecation warning for pytest
- drop support for Python 3.6 / 3.7
- add support for Python 3.12
- upgrade dependencies for building docs
- improve documentation (#133)
- drop support for Python 3.6
- add support for Python 3.11
- update dependencies for building documentation
- add contexts to coverage report
- pin documentation dependencies to prevent future breakage
- fix typing errors (mypy) with recently released Flask 2.0.1
- add support for Python 3.10
- make type checkers aware that this library is using type annotations
- raise test coverage to 100%
- use official Pallets theme for the documentation
- remove deprecated patch_request_class helper function; use MAX_CONTENT_LENGTH instead.
- autoserve now has been deactivated by default and needs explicit activation via the setting UPLOADS_AUTOSERVE=True
- improve documentation of example app
- document surprising autoserve feature
- issue a warning when using autoserve without explicit configuration
- add type annotations
- drop support for Python 2 and Python 3.5 (#8)
- deprecate patch_request_class (#43)
- use a src directory for source code (#21)
- add tox env for check-python-versions (#20)
- add flake8-bugbear
- add short contribution guide (#6)
- add getting started (#59)
- delete broken example and add minimal example to README (#15)
- add support for Python 3.9
- use gh actions instead of Travis CI
- documentation update
(#5)
- update docs/index.rst
- use blue ReadTheDocs theme
- update sphinx configuration
- add documentation link to setup.py, so it shows on PyPi
- add note about documentation in the README file
- delete old theme files
- configure isort to force single line imports
- add badges to README (# 31)
- add migration guide from Flask-Uploads to Flask-Reuploaded (#11)
- add packaging guide (#28)
- update installation instruction in README
Besides including four years of unreleased changes from the original package, most notable the fix for the Werkzeug API change, the following changes happened since forking the original package.