CVE-2024-22414: flaskBlog is a simple blog app built with Flask
CVE-2024-22414 is a medium-severity flaw (CVSS 6.5) affecting flaskblog. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 `|saf
Why this priority
- Public exploit reference
A fixed release or distro patch exists.
Risk facts
| CVSS score | 6.5 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | Required |
| EPSS exploit chance | 0.4% (top 65%) |
| CISA exploited list | No |
| Weakness | CWE-79 |
| Published | 2024-01-17 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-22414?
flaskblog: upgrade to newer than 1.1.0. Exact commands for each OS are on this page.
Is CVE-2024-22414 being exploited?
CVE-2024-22414 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-22414 affect?
CVE-2024-22414 affects flaskblog. Severity is medium (CVSS 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 r
How urgent is CVE-2024-22414?
Priority 37/100. Public exploit reference
Software pages
Related CVEs
- CVE-2025-55737 MEDIUM 6.5 UPGRADE flaskBlog is a blog app built with Flask
- CVE-2025-55736 MEDIUM 6.5 UPGRADE flaskBlog is a blog app built with Flask
- CVE-2025-55735 MEDIUM 5.4 UPGRADE flaskBlog is a blog app built with Flask
- CVE-2025-55734 MEDIUM 6.5 UPGRADE flaskBlog is a blog app built with Flask
- CVE-2025-53631 MEDIUM 5.4 UPGRADE flaskBlog is a blog app built with Flask