CVE 6.9 MEDIUM

flaskBlo Authorization Bypass_CVE-2025-55734

6.9 / 10
MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

Description

flaskBlog is a blog app built with Flask. In 2.8.0 and earlier, the code checks if the userRole is "admin" only when visiting the /admin page, but not when visiting its subroutes. Specifically, only the file routes/adminPanel.py checks the user role when a user is trying to access the admin page, but that control is not done for the pages routes/adminPanelComments.py and routes/adminPanelPosts.py. Thus, an unauthorized user can bypass the intended restrictions, leaking sensitive data and accessing the following pages: /admin/posts, /adminpanel/posts, /admin/comments, and /adminpanel/comments.

Basic Information

ID CVE-2025-55734
Source GitHub_M
Published Aug 19, 2025 at 18:38
Modified Aug 19, 2025 at 19:22

Affected Product

Vendor DogukanUrker
Product FlaskBlog
Version <= 2.8.0
Affected Versions DogukanUrker FlaskBlog <= 2.8.0

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.