Squidex is an open source headless CMS and content management hub. Affected versions are missing origin verification in a postMessage handler which introduces a Cross-Site Scripting (XSS) vulnerability. The editor-sdk.js file defines three different class-like functions, which employ a global message event listener: SquidexSidebar, SquidexWidget, and SquidexFormField. The registered event listener takes some action based on the type of the received message. For example, when the SquidexFormField receives a message with the type valueChanged, the value property is updated. The SquidexFormField class is for example used in the editor-editorjs.html file, which can be accessed via the public wwwroot folder. It uses the onValueChanged method to register a callback function, which passes the value provided from the message event to the editor.render. Passing an attacker-controlled value to this function introduces a Cross-Site Scripting (XSS) vulnerability.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published: 2023-11-07T19:00:58.743Z

Updated: 2024-09-04T15:22:43.945Z

Reserved: 2023-10-19T20:34:00.948Z

Link: CVE-2023-46252

cve-icon Vulnrichment

Updated: 2024-08-02T20:37:40.194Z

cve-icon NVD

Status : Modified

Published: 2023-11-07T19:15:11.573

Modified: 2024-11-21T08:28:10.417

Link: CVE-2023-46252

cve-icon Redhat

No data.