{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2024-22414","published":"2024-01-17T21:15:12.100000Z","last_modified":"2026-06-17T07:11:21.833000Z","status":"Modified","cvss":{"version":"3.1","score":5.4,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-79"],"cpes":[{"criteria":"cpe:2.3:a:dogukanurker:flaskblog:*:*:*:*:*:*:*:*","part":"a","vendor":"dogukanurker","product":"flaskblog","version_end_including":"1.1.0"}],"cpes_truncated":false,"vendors":["dogukanurker"],"products":["dogukanurker/flaskblog"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial"},"epss":{"score":0.00494,"percentile":0.35277,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":32,"links":{"html_es":"/es/cve/CVE-2024-22414/","html_en":"/en/cve/CVE-2024-22414/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-22414","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-22414"},"untrusted":{"vendor_name":"Dogukanurker","product_name":"Flaskblog","desc_en":"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.","affected":[{"untrusted_vendor":"DogukanUrker","untrusted_product":"flaskBlog","versions":[]}],"references":[{"url":"https://github.com/DogukanUrker/flaskBlog/security/advisories/GHSA-mrcw-j96f-p6v6","tags":["Exploit","Vendor Advisory"]}]}}