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

Fri, 22 Aug 2025 21:00:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:dogukanurker:flaskblog:*:*:*:*:*:*:*:*
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N'}


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:

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 : Analyzed

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

Modified: 2025-08-22T20:57:15.983

Link: CVE-2025-55735

cve-icon Redhat

No data.