CVE-2024-4023

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

Configuration 1 (hide)

cpe:2.3:a:flatpress:flatpress:1.3:*:*:*:*:*:*:*

History

23 Jun 2025, 20:46

Type Values Removed Values Added
First Time Flatpress flatpress
Flatpress
References () https://github.com/flatpressblog/flatpress/commit/3c9cc69364a45fd3f92d4bd606344b5dd1205d6a - () https://github.com/flatpressblog/flatpress/commit/3c9cc69364a45fd3f92d4bd606344b5dd1205d6a - Patch
References () https://huntr.com/bounties/ed803c13-0858-4c22-93ba-bf2384ab1e9d - () https://huntr.com/bounties/ed803c13-0858-4c22-93ba-bf2384ab1e9d - Exploit, Third Party Advisory
Summary
  • (es) Existe una vulnerabilidad de Cross-Site Scripting (XSS) almacenado en flatpressblog/flatpress versión 1.3. Cuando un usuario sube un archivo con la extensión `.xsig` y accede directamente a él, el servidor responde con un tipo de contenido de application/octet-stream, lo que hace que el archivo se procese como un archivo HTML. Esto permite a un atacante ejecutar código JavaScript arbitrario, que puede utilizarse para robar cookies de usuario, realizar solicitudes HTTP y acceder a contenido del mismo origen.
CPE cpe:2.3:a:flatpress:flatpress:1.3:*:*:*:*:*:*:*

20 Mar 2025, 10:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-03-20 10:15

Updated : 2025-06-23 20:46


NVD link : CVE-2024-4023

Mitre link : CVE-2024-4023

CVE.ORG link : CVE-2024-4023


JSON object : View

Products Affected

flatpress

  • flatpress
CWE
CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')