Stored Cross-site Scripting in Squidex
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- 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. In affected versions a stored Cross-Site Scripting (XSS) vulnerability enables privilege escalation of authenticated users. The SVG element filtering mechanism intended to stop XSS attacks through uploaded SVG images, is insufficient resulting to stored XSS attacks. Squidex allows the CMS contributors to be granted the permission of uploading an SVG asset. When the asset is uploaded, a filtering mechanism is performed to validate that the SVG does not contain malicious code. The validation logic consists of traversing the HTML nodes in the DOM. In order for the validation to succeed, 2 conditions must be met: 1. No HTML tags included in a "blacklist" called "InvalidSvgElements" are present. This list only contains the element "script". and 2. No attributes of HTML tags begin with "on" (i.e. onerror, onclick) (line 65). If either of the 2 conditions is not satisfied, validation fails and the file/asset is not uploaded. However it is possible to bypass the above filtering mechanism and execute arbitrary JavaScript code by introducing other HTML elements such as an <iframe> element with a "src" attribute containing a "javascript:" value. Authenticated adversaries with the "assets.create" permission, can leverage this vulnerability to upload a malicious SVG as an asset, targeting any registered user that will attempt to open/view the asset through the Squidex CMS.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- 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-46744
- 2026-10-03 Alias added: GHSA-g57h-gw9r-cw26
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-03342 Improper Handling of Additional Special Element in squidex/squidex CVSS 3.1MEDIUM 4.3
- TI-2023-09957 Squidex before 7.4.0 was discovered to contain a squid.svg cross-site scripting (XSS) vulnerability. CVSS 3.1MEDIUM 6.1
Sources
- CVE-2023-46744 · CVE Program
- CVE-2023-46744 · NVD
- FIRST EPSS
- GHSA-g57h-gw9r-cw26 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences