{"id":"CVE-2024-22414","aliases":["CVE-2024-22414"],"related":[],"kind":"vulnerability","state":"published","title":"User profile page vulnerable to Cross Site Scripting (XSS) in flaskBlog","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"flaskBlog es una aplicación de blog sencilla creada con Flask. El almacenamiento y la representación inadecuados de la página `/user/` permiten que los comentarios de un usuario ejecuten código javascript arbitrario. La plantilla html `user.html` contiene el siguiente fragmento de código para representar los comentarios realizados por un usuario: `{{comment[2]|safe}}` . El uso de la etiqueta \"safe\" hace que flask _not_ escape del contenido renderizado. Para remediar esto, simplemente elimine la etiqueta `|safe` del HTML anterior. No hay ninguna solución disponible y se recomienda a los usuarios que editen manualmente su instalación.","source":"nvd"}],"published":"2024-01-17T20:25:29.629Z","modified":"2026-06-17T07:11:21.833Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L","score":6.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"*","status":"affected"}],"vendor":"DogukanUrker","product":"flaskBlog","source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"1.1.0"}],"vendor":"dogukanurker","product":"flaskblog","cpe":"cpe:2.3:a:dogukanurker:flaskblog:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/DogukanUrker/flaskBlog/security/advisories/GHSA-mrcw-j96f-p6v6","tags":["exploit","vendor-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2024-01-18T14:23:57.528Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-22414","url":"https://www.cve.org/CVERecord?id=CVE-2024-22414","licence":"CVE Terms of Use","modified":"2025-06-17T21:19:19.643Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-22414","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-22414","licence":"Public domain","modified":"2026-06-17T07:11:21.833Z"}],"updatedAt":"2026-11-25T22:58:36.201Z","epss":{"score":0.00409,"percentile":0.37212,"date":"2026-12-01T12:00:22.000Z"}}