Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions solutions/1.2.3 Developing with Flask/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ Flask==0.10.1
Flask-BasicAuth==0.2.0
Jinja2==2.7.1
MarkupSafe==0.18
werkzeug>=3.1.5 # not directly required, pinned by Snyk to avoid a vulnerability

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Werkzeug 3.x incompatible with Flask 0.10.1

High Severity

The upgrade to werkzeug>=3.1.5 is incompatible with Flask==0.10.1. Werkzeug 3.0 introduced major breaking changes (like removing url_quote from werkzeug.urls) that break all Flask versions prior to 3.x. The application will crash at startup with an ImportError. Either Flask needs to be upgraded to version 3.x, or werkzeug needs to stay at 2.x despite the security vulnerability.

Fix in Cursor Fix in Web