CVE-2025-32960

The CUBA REST API add-on performs operations on data and entities. Prior to version 7.2.7, the input parameter, which consists of a file path and name, can be manipulated to return the Content-Type header with text/html if the name part ends with .html. This could allow malicious JavaScript code to be executed in the browser. For a successful attack, a malicious file needs to be uploaded beforehand. This issue has been patched in version 7.2.7. A workaround is provided on the Jmix documentation website.
Configurations

No configuration.

History

23 Apr 2025, 14:08

Type Values Removed Values Added
Summary
  • (es) El complemento de la API REST de CUBA realiza operaciones con datos y entidades. Antes de la versión 7.2.7, el parámetro de entrada, que consiste en la ruta y el nombre del archivo, podía manipularse para devolver el encabezado Content-Type con text/html si el nombre terminaba en .html. Esto podría permitir la ejecución de código JavaScript malicioso en el navegador. Para que un ataque tenga éxito, es necesario cargar previamente un archivo malicioso. Este problema se ha corregido en la versión 7.2.7. Se ofrece un workaround en el sitio web de documentación de Jmix.

22 Apr 2025, 18:16

Type Values Removed Values Added
New CVE

Information

Published : 2025-04-22 18:16

Updated : 2025-04-23 14:08


NVD link : CVE-2025-32960

Mitre link : CVE-2025-32960

CVE.ORG link : CVE-2025-32960


JSON object : View

Products Affected

No product.

CWE
CWE-79

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