{"id":"CVE-2023-46252","published":"2023-11-07T19:00:58Z","modified":"2024-09-04T15:22:43Z","title":"Cross-Site Scripting (XSS) via postMessage Handler in Squidex","vendor":"Squidex","product":"squidex","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00565,"percentile":0.47852,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/Squidex/squidex/security/advisories/GHSA-7q4f-fprr-5jw8","tags":["x_refsource_CONFIRM"]}],"priority":{"score":14.3,"factors":[{"name":"EPSS percentile","points":9.57},{"name":"CVSS severity","points":4.76}]},"vendorSlug":"squidex","affectedVersions":[{"vendor":"Squidex","product":"squidex","versions":["< 7.9.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-04T15:15:48.722636Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2023-50481","exploited":false,"provenance":"source"}}