CVE-2025-55735
JSON

5.3medium

flaskBlog Stored XSS Vulnerability

Severity
5.3medium CVSS:4.0 by GitHub_M
Exploit likelihood
0.39% (higher than 25% of CVEs)
Published
Last changed
Assigned by
GitHub_M

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.

Affected

Product or packageVersionsReported by
DogukanUrker FlaskBlog<= 2.8.0, up to 2.8.0CVE List, NVD

All scores

GitHub_M5.3medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
NVD5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Classification

CWE-79CWE-807

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

flaskBlog es una aplicación de blog desarrollada con Flask. En la versión 2.8.0 y anteriores, al crear una entrada, no se valida el contenido almacenado en la variable "postContent". La vulnerabilidad surge al mostrar el contenido de la entrada mediante el filtro | safe, que indica al motor que no escape el contenido renderizado. Esto puede generar un XSS almacenado dentro del contenido de la entrada. El código que causa el problema se encuentra en template/routes.html.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-55735 changed 2025-08-19CVE Terms of Use
NVDCVE-2025-55735 changed 2026-06-17Public domain