Every CVE Search/ Get API key

CVE-2024-22414

User profile page vulnerable to Cross Site Scripting (XSS) in flaskBlog

6.5 Medium

flaskBlog is a simple blog app built with Flask. Improper storage and rendering of the /user/<user> page allows a user's comments to execute arbitrary javascript code. The html template user.html contains the following code snippet to render comments made by a user: <div class="content" tag="content">{{comment[2]|safe}}</div>. Use of the "safe" tag causes flask to not escape the rendered content. To remediate this, simply remove the |safe tag from the HTML above. No fix is is available and users are advised to manually edit their installation.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
Low
User interaction
Required

What an attacker can affect

Confidentiality
Low
Integrity
Low
Availability
Low

Exploit likelihood

0.41%Up 0.4 points since Jan 24, 2024
90%50%10%1%

What each source reports

CVE List Score used 6.5

User profile page vulnerable to Cross Site Scripting (XSS) in flaskBlog

flaskBlog is a simple blog app built with Flask. Improper storage and rendering of the /user/<user> page allows a user's comments to execute arbitrary javascript code. The html template user.html contains the following code snippet to render comments made by a user: <div class="content" tag="content">{{comment[2]|safe}}</div>. Use of the "safe" tag causes flask to not escape the rendered content. To remediate this, simply remove the |safe tag from the HTML above. No fix is is available and users are advised to manually edit their installation.

Record
CVE-2024-22414
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L
Weakness
CWE-79
Updated
2026-11-02
EUVDEUVD-2024-19966 6.5

flaskBlog is a simple blog app built with Flask. Improper storage and rendering of the /user/<user> page allows a user's comments to execute arbitrary javascript code. The html template user.html contains the following code snippet to render comments made by a user: <div class="content" tag="content">{{comment[2]|safe}}</div>. Use of the "safe" tag causes flask to not escape the rendered content. To remediate this, simply remove the |safe tag from the HTML above. No fix is is available and users are advised to manually edit their installation.

Record
EUVD-2024-19966
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L
Updated
2026-11-02
NVD 6.5

flaskBlog is a simple blog app built with Flask. Improper storage and rendering of the /user/<user> page allows a user's comments to execute arbitrary javascript code. The html template user.html contains the following code snippet to render comments made by a user: <div class="content" tag="content">{{comment[2]|safe}}</div>. Use of the "safe" tag causes flask to not escape the rendered content. To remediate this, simply remove the |safe tag from the HTML above. No fix is is available and users are advised to manually edit their installation.

Record
CVE-2024-22414
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L
CVSS 3.1
5.4 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Weakness
CWE-79
Updated
2026-11-02
OSV 6.5

User profile page vulnerable to Cross Site Scripting (XSS) in flaskBlog

flaskBlog is a simple blog app built with Flask. Improper storage and rendering of the /user/<user> page allows a user's comments to execute arbitrary javascript code. The html template user.html contains the following code snippet to render comments made by a user: <div class="content" tag="content">{{comment[2]|safe}}</div>. Use of the "safe" tag causes flask to not escape the rendered content. To remediate this, simply remove the |safe tag from the HTML above. No fix is is available and users are advised to manually edit their installation.

Record
CVE-2024-22414
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L
Weakness
CWE-79
Updated
2026-11-02

Affected products

History

History
RecordedChangedSources
first indexedCVE List, EUVD, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2024-22414 is a medium vulnerability (CVSS 6.5) in Dogukanurker Flaskblog, published January 17, 2024. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.41%, the 35th percentile. No source names a fixed version.

References

MoveEnter Open