{"answers":{"affected":"8 open source packages ship an affected version, including UmbracoCms.Core. It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-35218 in the wild and no public exploit code.","fix":"Upgrade UmbracoCms.Core to a fixed version for your release line: 10.8.4, 12.3.7, 13.1.1 or 8.18.13.","what":"CVE-2024-35218 is a medium-severity cross-site scripting vulnerability in Umbraco Umbraco Cms, published on 21 May 2024. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2024-35218 and fix it if it is affected.\n\nWhat it is: CVE-2024-35218 is a medium-severity cross-site scripting vulnerability in Umbraco Umbraco Cms, published on 21 May 2024. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2024-35218 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- UmbracoCms.Core (NuGet): affected from 10.0.0; fixed in 10.8.4\n- UmbracoCms.Core (NuGet): affected from 10.0.0; fixed in 10.8.4\n- UmbracoCms.Core (NuGet): affected from 12.0.0; fixed in 12.3.7\n- UmbracoCms.Core (NuGet): affected from 12.0.0; fixed in 12.3.7\n- UmbracoCms.Core (NuGet): affected from 13.0.0; fixed in 13.1.1\n- UmbracoCms.Core (NuGet): affected from 13.0.0; fixed in 13.1.1\n- UmbracoCms.Core (NuGet): affected from 8.0.0; fixed in 8.18.13\n- UmbracoCms.Core (NuGet): affected from 8.0.0; fixed in 8.18.13\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-2024-35218/ (Markdown: https://insights.sbomify.com/CVE-2024-35218/index.md)","id":"CVE-2024-35218","markdown":"https://insights.sbomify.com/CVE-2024-35218/index.md","name":"CVE-2024-35218","record":{"aliases":["GHSA-gvpc-3pj6-4m9w"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["code_execution","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Umbraco CMS","requires_auth":"high_privilege","summary":"Attackers with backoffice access can inject malicious scripts via the Markdown editor preview pane, leading to stored XSS attacks on the website.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"umbraco_cms","vendor":"umbraco"}],"cvss":{"score":4.2,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"Umbraco CMS is an ASP.NET CMS used by more than 730.000 websites. Stored Cross-site scripting (XSS) enable attackers that have access to backoffice to bring malicious content into a website or application. This vulnerability has been patched in version(s) 8.18.13, 10.8.4, 12.3.7, 13.1.1 by implementing IHtmlSanitizer.","ecosystems":["NuGet"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Umbraco CMS Vulnerable to Stored XSS on Content Page Through Markdown Editor Preview Pane","id":"CVE-2024-35218","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"NuGet","product":"umbraco:umbraco_cms","products":["umbraco:umbraco_cms"],"type":"xss","year":"2024"},"n_packages":8,"n_references":5,"next":{"headline":"OpenAPI Generator Online - Arbitrary File Read/Delete","id":"CVE-2024-35219"},"packages":[{"ecosystem":"NuGet","fixed":["10.8.4"],"introduced":["10.0.0"],"last_affected":[],"package":"UmbracoCms.Core","purl":null,"source":"GHSA-gvpc-3pj6-4m9w"},{"ecosystem":"NuGet","fixed":["10.8.4"],"introduced":["10.0.0"],"last_affected":[],"package":"UmbracoCms.Core","purl":"pkg:nuget/UmbracoCms.Core","source":"GHSA-gvpc-3pj6-4m9w"},{"ecosystem":"NuGet","fixed":["12.3.7"],"introduced":["12.0.0"],"last_affected":[],"package":"UmbracoCms.Core","purl":null,"source":"GHSA-gvpc-3pj6-4m9w"},{"ecosystem":"NuGet","fixed":["12.3.7"],"introduced":["12.0.0"],"last_affected":[],"package":"UmbracoCms.Core","purl":"pkg:nuget/UmbracoCms.Core","source":"GHSA-gvpc-3pj6-4m9w"},{"ecosystem":"NuGet","fixed":["13.1.1"],"introduced":["13.0.0"],"last_affected":[],"package":"UmbracoCms.Core","purl":null,"source":"GHSA-gvpc-3pj6-4m9w"},{"ecosystem":"NuGet","fixed":["13.1.1"],"introduced":["13.0.0"],"last_affected":[],"package":"UmbracoCms.Core","purl":"pkg:nuget/UmbracoCms.Core","source":"GHSA-gvpc-3pj6-4m9w"},{"ecosystem":"NuGet","fixed":["8.18.13"],"introduced":["8.0.0"],"last_affected":[],"package":"UmbracoCms.Core","purl":null,"source":"GHSA-gvpc-3pj6-4m9w"},{"ecosystem":"NuGet","fixed":["8.18.13"],"introduced":["8.0.0"],"last_affected":[],"package":"UmbracoCms.Core","purl":"pkg:nuget/UmbracoCms.Core","source":"GHSA-gvpc-3pj6-4m9w"}],"prev":{"headline":"Null dereference in QNX Software Development Platform (SDP)","id":"CVE-2024-35215"},"products":["Umbraco-CMS"],"published":"2024-05-21","related":[{"cvss_score":10,"headline":"Umbraco CMS has an arbitrary file upload vulnerability","id":"CVE-2025-67288","kev_date_added":null,"published":"2025-12-22"},{"cvss_score":9.8,"headline":"File upload in n/a","id":"CVE-2014-10074","kev_date_added":null,"published":"2018-08-27"},{"cvss_score":9.8,"headline":"Server-side request forgery in n/a","id":"CVE-2012-1301","kev_date_added":null,"published":"2017-04-13"},{"cvss_score":9.3,"headline":"Umbraco CMS \u003c 4.7.1 codeEditorSave.asmx RCE","id":"CVE-2012-10054","kev_date_added":null,"published":"2025-08-13"},{"cvss_score":8.8,"headline":"Umbraco has a Management API Vulnerability to Path Traversal With Authenticated Users","id":"CVE-2025-32017","kev_date_added":null,"published":"2025-04-08"},{"cvss_score":8.8,"headline":"Umbraco CMS Authenticated File Upload","id":"CVE-2020-9471","kev_date_added":null,"published":"2020-03-16"},{"cvss_score":8.6,"headline":"Umbraco Remote ApplicationURL Overwrite","id":"CVE-2022-22690","kev_date_added":null,"published":"2022-01-18"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"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":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-08-02","vendors":["umbraco"]},"summary":"Attackers with backoffice access can inject malicious scripts via the Markdown editor preview pane, leading to stored XSS attacks on the website.","url":"https://insights.sbomify.com/CVE-2024-35218/"}