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

The bleach library is officially deprecated and no longer maintained (see Bleach Issue #698). There will be no future releases, including for security issues. While upgrading to v6.4.0 addresses the immediate vulnerabilities (GHSA-8rfp-98v4-mmr6 and GHSA-gj48-438w-jh9v), it is highly recommended to plan a migration to an actively maintained alternative such as nh3 (Python binding to the Rust ammonia HTML sanitizer) to ensure long-term security.

debugpy # Required for debugging
Loading