# CVE-2024-4023: Stored XSS in flatpressblog/flatpress

- Severity: High 8.1 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.81%, higher than 58% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-03-20T10:09:54.666Z
- Modified: 2026-06-17T08:00:57.380Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: @huntr_ai

## 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.

(As written by CVE List.)

## Affected

- flatpressblog flatpressblog/flatpress: from unspecified before 1.3
- flatpress flatpress: 1.3

## References

- <https://huntr.com/bounties/ed803c13-0858-4c22-93ba-bf2384ab1e9d> (exploit, third-party-advisory)
- <https://github.com/flatpressblog/flatpress/commit/3c9cc69364a45fd3f92d4bd606344b5dd1205d6a> (patch)

## Sources

- CVE List: [CVE-2024-4023](https://www.cve.org/CVERecord?id=CVE-2024-4023), CVE Terms of Use, modified 2025-03-20
- NVD: [CVE-2024-4023](https://nvd.nist.gov/vuln/detail/CVE-2024-4023), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-4023 · Whole record: https://cve.day/CVE-2024-4023.json · Rebuilt by cve.day 2026-11-25T22:58:52.368Z
