Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Squidex.Io | Squidex | 7.8.2 |
Related Weaknesses (CWE)
References
- https://github.com/Squidex/squidex/security/advisories/GHSA-7q4f-fprr-5jw8ExploitVendor Advisory
- https://github.com/Squidex/squidex/security/advisories/GHSA-7q4f-fprr-5jw8ExploitVendor Advisory
FAQ
What is CVE-2023-46252?
CVE-2023-46252 is a vulnerability with a CVSS score of 6.8 (MEDIUM). 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) vulnerabilit...
How severe is CVE-2023-46252?
CVE-2023-46252 has been rated MEDIUM with a CVSS base score of 6.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2023-46252?
Check the references section above for vendor advisories and patch information. Affected products include: Squidex.Io Squidex.