# CVE-2023-46252: Cross-Site Scripting (XSS) via postMessage Handler in Squidex

- Severity: Medium 6.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.56%, higher than 48% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-11-07T19:00:58.743Z
- Modified: 2026-06-17T06:30:31.457Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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 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.

(As written by CVE List.)

## Affected

- Squidex squidex: < 7.9.0
- squidex.io squidex: 7.8.2

## Every score

- GitHub_M: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/Squidex/squidex/security/advisories/GHSA-7q4f-fprr-5jw8> (exploit, vendor-advisory)

## Sources

- CVE List: [CVE-2023-46252](https://www.cve.org/CVERecord?id=CVE-2023-46252), CVE Terms of Use, modified 2024-09-04
- NVD: [CVE-2023-46252](https://nvd.nist.gov/vuln/detail/CVE-2023-46252), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-46252 · Whole record: https://cve.day/CVE-2023-46252.json · Rebuilt by cve.day 2026-11-25T22:58:30.193Z
