CVE-2023-46252

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

Configuration 1 (hide)

cpe:2.3:a:squidex.io:squidex:7.8.2:*:*:*:*:*:*:*

History

15 Nov 2023, 15:52

Type Values Removed Values Added
CPE cpe:2.3:a:squidex.io:squidex:7.8.2:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 6.1
First Time Squidex.io squidex
Squidex.io
References () https://github.com/Squidex/squidex/security/advisories/GHSA-7q4f-fprr-5jw8 - () https://github.com/Squidex/squidex/security/advisories/GHSA-7q4f-fprr-5jw8 - Exploit, Vendor Advisory

07 Nov 2023, 21:36

Type Values Removed Values Added
New CVE

Information

Published : 2023-11-07 19:15

Updated : 2024-02-28 20:54


NVD link : CVE-2023-46252

Mitre link : CVE-2023-46252

CVE.ORG link : CVE-2023-46252


JSON object : View

Products Affected

squidex.io

  • squidex
CWE
CWE-79

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