{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-46744 exists.","fix":"No fix has been published for CVE-2023-46744 yet. Limit exposure of the affected software until one is available.","what":"CVE-2023-46744 is a medium-severity cross-site scripting vulnerability in squidex, published on 7 Nov 2023. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2023-46744 and fix it if it is affected.\n\nWhat it is: CVE-2023-46744 is a medium-severity cross-site scripting vulnerability in squidex, published on 7 Nov 2023. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-46744 exists.\n\nAffected product: squidex. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-46744/ (Markdown: https://insights.sbomify.com/CVE-2023-46744/index.md)","id":"CVE-2023-46744","markdown":"https://insights.sbomify.com/CVE-2023-46744/index.md","name":"CVE-2023-46744","record":{"aliases":["GHSA-g57h-gw9r-cw26","GHSA-xfr4-qg2v-7v5m"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"Headless CMS","requires_auth":"low_privilege","summary":"Authenticated users can upload malicious SVGs to execute arbitrary JavaScript, leading to privilege escalation in Squidex.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"squidex","vendor":"squidex.io"}],"cvss":{"score":5.4,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"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 \u003ciframe\u003e 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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"Stored Cross-site Scripting in Squidex","id":"CVE-2023-46744","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2023"},"n_packages":0,"n_references":1,"next":{"headline":"Rate limiting Bypass on login page in libreNMS","id":"CVE-2023-46745"},"packages":[],"prev":{"headline":"The same file cannot be opened with different rights","id":"CVE-2023-46743"},"products":["squidex"],"published":"2023-11-07","related":[{"cvss_score":9.1,"headline":"Squidex has Server-Side Request Forgery (SSRF) Issue in Webhook Configuration","id":"CVE-2026-24736","kev_date_added":null,"published":"2026-01-27"},{"cvss_score":9.1,"headline":"Remote code execution in Squidex","id":"CVE-2023-46253","kev_date_added":null,"published":"2023-11-07"},{"cvss_score":6.8,"headline":"Cross-Site Scripting (XSS) via postMessage Handler in Squidex","id":"CVE-2023-46252","kev_date_added":null,"published":"2023-11-07"},{"cvss_score":6.8,"headline":"Cross-Site Request Forgery (CSRF) in squidex/squidex","id":"CVE-2023-0642","kev_date_added":null,"published":"2023-02-02"},{"cvss_score":6.1,"headline":"Cross-site scripting in n/a","id":"CVE-2023-24278","kev_date_added":null,"published":"2023-03-18"},{"cvss_score":5.4,"headline":"Cross-site scripting in n/a","id":"CVE-2023-46857","kev_date_added":null,"published":"2023-12-07"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-09-04","vendors":["Squidex"]},"summary":"Authenticated users can upload malicious SVGs to execute arbitrary JavaScript, leading to privilege escalation in Squidex.","url":"https://insights.sbomify.com/CVE-2023-46744/"}