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
2 changes: 1 addition & 1 deletion python/python-guestbook/src/backend/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Flask==2.3.3
Flask-PyMongo==2.3.0
bleach==5.0.1
bleach==6.4.0

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

security-medium medium

Bleach is officially deprecated and no longer maintained as of its v6.4.0 release (see Mozilla's announcement). Since Bleach is an HTML sanitization library, using an unmaintained package poses a long-term security risk as new vulnerabilities will not be patched.

It is highly recommended to plan a migration to an actively maintained alternative, such as nh3 (Python bindings for the Rust-based ammonia HTML sanitizer).

debugpy # Required for debugging