← Vulnerability feed

Vulnerability record · CVE-2024-4023 · published 20 March 2025

CVE-2024-4023: Flatpress cross-site scripting vulnerability

Flatpress · 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 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.

8.1 CVSS 3.0 High EPSS 0.79% · top 45.4% CWE-79 · Cross-site scripting
8.1CVSS 3.0 base score
0.79%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
2References, 1 tagged exploit
17 Jun 2026Last modified by NVD

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.

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2024-4023 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2023-0947Flatpress path traversal vulnerabilityPath Traversal in GitHub repository flatpressblog/flatpress prior to 1.3.EPSS 3.6%9.8CVE-2022-4748Flatpress path traversal vulnerabilityA vulnerability was found in FlatPress. It has been classified as critical. This affects the function doItemActions of the file fp-plugins/mediamanag…EPSS 0.87%9.8CVE-2022-4606Flatpress php remote file inclusion vulnerabilityPHP Remote File Inclusion in GitHub repository flatpressblog/flatpress prior to 1.3.EPSS 35%8.8CVE-2020-22761Flatpress cross-site request forgery vulnerabilityCross Site Request Forgery (CSRF) vulnerability in FlatPress 1.1 via the DeleteFile function in flat/admin.php.EPSS 0.76%8.1CVE-2024-41290Flatpress vulnerabilityFlatPress CMS v1.3.1 1.3 was discovered to use insecure methods to store authentication data via the cookie's component.EPSS 0.43%8.1CVE-2023-1105Flatpress vulnerabilityExternal Control of File Name or Path in GitHub repository flatpressblog/flatpress prior to 1.3.EPSS 0.71%8.0CVE-2024-9847Flatpress cross-site request forgery vulnerabilityFlatPress CMS version latest is vulnerable to Cross-Site Request Forgery (CSRF) attacks that allow an attacker to enable or disable plugins on behalf…EPSS 0.34%7.2CVE-2022-40048Flatpress unrestricted file upload vulnerabilityFlatpress v1.2.1 was discovered to contain a remote code execution (RCE) vulnerability in the Upload File function.EPSS 1.7%

Source: NIST National Vulnerability Database (record CVE-2024-4023), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.