CVE-2024-4023 in Flatpress
A stored cross-site scripting (XSS) vulnerability exists in flatpressblog/flatpress version 1.3. When a user uploads a file with a `.xsig` extension and directly accesses this file, the server responds with a Content-type of application/octet-stream, leading to the file being processed as an HTML file. This allows a...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, requires user interaction, impact contained to the vulnerable component, full confidentiality impact, no integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Flatpress | Flatpress | 1.3 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
A stored cross-site scripting (XSS) vulnerability exists in flatpressblog/flatpress version 1.3. When a user uploads a file with a `.xsig` extension and directly accesses this file, the server responds with a Content-type of application/octet-stream, leading to the file being processed as an HTML file. This allows an attacker to execute arbitrary JavaScript code, which can be used to steal user cookies, perform HTTP requests, and access content of the same origin.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2024-4023 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-217469-H |
| CVSS vector | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H |
| Published | 2025-03-20 |
| Last modified | 2025-06-23 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-79: Cross-Site Scripting (XSS)
Attacker injects malicious scripts into web pages viewed by other users, executing in the victim's browser context.
Related attack patterns (CAPEC)
CAPEC-85 AJAX Footprinting via CWE-79
CAPEC-209 XSS Using MIME Type Mismatch via CWE-79
CAPEC-588 DOM-Based XSS via CWE-79
CAPEC-591 Reflected XSS via CWE-79
CAPEC-592 Stored XSS via CWE-79
Show all 6
CAPEC-63 Cross-Site Scripting (XSS) via CWE-79
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A stored cross-site scripting (XSS) vulnerability in flatpressblog/flatpress version 1.3 allows attackers to execute arbitrary JavaScript code by uploading a .xsig file and accessing it directly, potentially leading to the theft of user cookies.
The vulnerability arises from the server responding with a Content-type of application/octet-stream for .xsig files, causing them to be processed as HTML files. An attacker can upload a malicious .xsig file containing JavaScript code, which will be executed in the context of the victim's browser when the file is accessed.
Questions
What is CVE-2024-4023?
A stored cross-site scripting (XSS) vulnerability in flatpressblog/flatpress version 1.3 allows attackers to execute arbitrary JavaScript code by uploading a .xsig file and accessing it directly, potentially leading to the theft of user cookies.
What is the CVSS score for CVE-2024-4023?
CVE-2024-4023 has CVSS 8.1 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H. EPSS: 0.8%.
Is CVE-2024-4023 actively exploited?
No confirmed active exploitation of CVE-2024-4023 as of 2026-05-30.
How do I remediate CVE-2024-4023?
Priority: IMMEDIATE.
What systems are affected by CVE-2024-4023?
CVE-2024-4023 affects Flatpress Flatpress.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Flatpress","product":"Flatpress","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2025-06-23.