Cross-Site Scripting (XSS) via postMessage Handler in Squidex
Key facts
- Attack vector
- Adjacent network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- High · Low · Low
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-79.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA squidex (Squidex) Fixed in 7.9.0
Timeline
- 2026-10-02 Threatist record created from CVE-2023-46252
References
More Squidex vulnerabilities
- TI-2026-19941 Squidex has Server-Side Request Forgery (SSRF) Issue in Webhook Configuration CVSS 3.1CRITICAL 9.1
- TI-2023-24880 Remote code execution in Squidex CVSS 3.1CRITICAL 9.1
- TI-2023-00608 Cross-Site Request Forgery (CSRF) in squidex/squidex CVSS 3.1MEDIUM 6.5
- TI-2023-00609 Improper Handling of Additional Special Element in squidex/squidex CVSS 3.1MEDIUM 6.1
- TI-2023-25227 Stored Cross-site Scripting in Squidex CVSS 3.1MEDIUM 5.4
- TI-2023-03342 Improper Handling of Additional Special Element in squidex/squidex CVSS 3.1MEDIUM 4.3
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences