CVE-2024-4023 Stored XSS in flatpressblog/flatpress
HighCVSS 8.1
EPSS 0.81%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| flatpressblog/flatpress | < 1.3 | 1.3 | Fixed |
| flatpress | = 1.3 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| flatpressblog/flatpress | < 1.3 | 1.3 |
| flatpress | = 1.3 | No fix listed |
References
- huntr.com exploit third-party-advisory
- github.com patch