{"id":"CVE-2024-22414","published":"2024-01-17T20:25:29Z","modified":"2025-06-17T21:19:19Z","title":"User profile page vulnerable to Cross Site Scripting (XSS) in flaskBlog","vendor":"DogukanUrker","product":"flaskBlog","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00494,"percentile":0.35247,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/DogukanUrker/flaskBlog/security/advisories/GHSA-mrcw-j96f-p6v6","tags":["x_refsource_CONFIRM"]}],"priority":{"score":11.6,"factors":[{"name":"EPSS percentile","points":7.05},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"dogukanurker","ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2024-01-18T14:23:57.528123Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-19966","exploited":false,"provenance":"source"}}