{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-46252","id":"CVE-2023-46252","title":"Cross-Site Scripting (XSS) via postMessage Handler in Squidex","description":"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","descriptionLong":"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.","published":"2023-11-07T19:00:58.743Z","updated":"2026-10-28T02:31:09.844015532Z","reserved":"2023-10-19T20:34:00.948Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L","rating":"medium","source":"github.com"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L","rating":"medium","source":"OSV"}],"rating":"medium","products":["squidex"],"affectedProducts":[{"vendor":"Squidex","product":"squidex","defaultStatus":null,"versions":[{"version":"< 7.9.0","status":"affected"}],"platforms":[]}],"packages":[],"cwes":["CWE-79"],"aliases":["GHSA-7q4f-fprr-5jw8"],"references":[{"url":"https://github.com/Squidex/squidex/security/advisories/GHSA-7q4f-fprr-5jw8","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Vendor Advisory","advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/46xxx/CVE-2023-46252.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-46252","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00565,"epssPercentile":0.47722,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-46252","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-46252","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-46252","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-46252","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}