PT-2023-29932 · Squidex · Squidex

Stefan-Schiller-Sonarsource

·

Publicado

2023-11-07

·

Atualizado

2023-11-15

·

CVE-2023-46252

CVSS v3.1

6.8

Média

VetorAV:A/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L
Name of the Vulnerable Software and Affected Versions Squidex (affected versions not specified)
Description The issue concerns a Cross-Site Scripting (XSS) vulnerability due to missing origin verification in a postMessage handler. This affects the editor-sdk.js file, which defines class-like functions such as SquidexSidebar, SquidexWidget, and SquidexFormField. These functions employ a global message event listener that takes action based on the received message type. For instance, the SquidexFormField updates its value property when it receives a message with the type 'valueChanged'. This class is used in the editor-editorjs.html file, accessible via the public wwwroot folder, where it registers a callback function using the onValueChanged method. This method passes the value from the message event to the editor.render, introducing an XSS vulnerability if an attacker-controlled value is passed.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

XSS

Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾

Enumeração de Fraquezas

Identificadores relacionados

CVE-2023-46252
GHSA-7Q4F-FPRR-5JW8

Produtos afetados

Squidex