flaskBlog is a blog app built with Flask. In 2.8.0 and earlier, when creating a post, there's no validation of the content of the post stored in the variable "postContent". The vulnerability arises when displaying the content of the post using the | safe filter, that tells the engine to not escape the rendered content. This can lead to a stored XSS inside the content of the post. The code that causes the problem is in template/routes.html.
History

Thu, 21 Aug 2025 12:45:00 +0000

Type Values Removed Values Added
First Time appeared Dogukanurker
Dogukanurker flaskblog
Vendors & Products Dogukanurker
Dogukanurker flaskblog

Tue, 19 Aug 2025 20:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 19 Aug 2025 19:00:00 +0000

Type Values Removed Values Added
Description flaskBlog is a blog app built with Flask. In 2.8.0 and earlier, when creating a post, there's no validation of the content of the post stored in the variable "postContent". The vulnerability arises when displaying the content of the post using the | safe filter, that tells the engine to not escape the rendered content. This can lead to a stored XSS inside the content of the post. The code that causes the problem is in template/routes.html.
Title flaskBlog Stored XSS Vulnerability
Weaknesses CWE-79
CWE-807
References
Metrics cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published: 2025-08-19T18:56:42.600Z

Updated: 2025-08-19T19:18:45.395Z

Reserved: 2025-08-14T22:31:17.683Z

Link: CVE-2025-55735

cve-icon Vulnrichment

Updated: 2025-08-19T19:16:58.109Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2025-08-19T19:15:37.620

Modified: 2025-08-20T14:40:17.713

Link: CVE-2025-55735

cve-icon Redhat

No data.