User profile page vulnerable to Cross Site Scripting (XSS) in flaskBlog
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · Low
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-79.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| DogukanUrker | flaskBlog | all versions | — | No fix listed | CNA |
- flaskBlog VendorDogukanUrker Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:dogukanurker:flaskblog:*:*:*:*:*:*:*:* | up to 1.1.0 | Vulnerable | DogukanUrker |
- cpe:2.3:a:dogukanurker:flaskblog:*:*:*:*:*:*:*:* Versions up to 1.1.0 Vulnerable ·DogukanUrker
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2024-22414
References
More DogukanUrker Flaskblog vulnerabilities
- TI-2025-35157 flaskBlog allows arbitrary privilege escalation CVSS 4.0CRITICAL 9.3
- TI-2025-20720 Incorrect access control in laskBlog v2.6.1 allows attackers to access all usernames via a crafted input. CVSS 3.1CRITICAL 9.1
- TI-2025-35158 flaskBlog arbitrary comment delete CVSS 4.0MEDIUM 6.9
- TI-2025-35155 flaskBlo Authorization Bypass CVSS 4.0MEDIUM 6.9
- TI-2025-20717 An arbitrary file deletion vulnerability in the /post/{postTitle} component of flaskBlog… CVSS 3.1MEDIUM 6.5
- TI-2025-20718 A cross-site scripting (XSS) vulnerability in flaskBlog v2.6.1 allows attackers to… CVSS 3.1MEDIUM 6.1
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences