{"answers":{"affected":"21 open source packages ship an affected version, including TinyMCE, tinymce/tinymce and django-tinymce.","exploited":"There is no known exploitation of CVE-2024-38357 in the wild and no public exploit code.","fix":"Upgrade TinyMCE to a fixed version for your release line: 5.11.0, 6.8.4 or 7.2.0.","what":"CVE-2024-38357 is a medium-severity cross-site scripting vulnerability in tinymce, published on 19 Jun 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2024-38357 and fix it if it is affected.\n\nWhat it is: CVE-2024-38357 is a medium-severity cross-site scripting vulnerability in tinymce, published on 19 Jun 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2024-38357 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- TinyMCE (NuGet): affected all versions; fixed in 5.11.0\n- TinyMCE (NuGet): affected all versions; fixed in 5.11.0\n- TinyMCE (NuGet): affected from 6.0.0; fixed in 6.8.4\n- TinyMCE (NuGet): affected from 6.0.0; fixed in 6.8.4\n- TinyMCE (NuGet): affected from 7.0.0; fixed in 7.2.0\n- TinyMCE (NuGet): affected from 7.0.0; fixed in 7.2.0\n- tinymce/tinymce (Packagist): affected all versions; fixed in 5.11.0\n- tinymce/tinymce (Packagist): affected all versions; fixed in 5.11.0\n- tinymce/tinymce (Packagist): affected from 6.0.0; fixed in 6.8.4\n- tinymce/tinymce (Packagist): affected from 6.0.0; fixed in 6.8.4\n- tinymce/tinymce (Packagist): affected from 7.0.0; fixed in 7.2.0\n- tinymce/tinymce (Packagist): affected from 7.0.0; fixed in 7.2.0\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-38357/ (Markdown: https://insights.sbomify.com/CVE-2024-38357/index.md)","id":"CVE-2024-38357","markdown":"https://insights.sbomify.com/CVE-2024-38357/index.md","name":"CVE-2024-38357","record":{"aliases":["GHSA-w9jx-4g6g-rp7x","PYSEC-2026-1302","UBUNTU-CVE-2024-38357"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"TinyMCE rich text editor","requires_auth":"none","summary":"Attackers can execute malicious scripts via crafted noscript elements in TinyMCE, requiring users to upgrade to patched versions.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":6.1,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/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":"TinyMCE is an open source rich text editor. A cross-site scripting (XSS) vulnerability was discovered in TinyMCE’s content parsing code. This allowed specially crafted noscript elements containing malicious code to be executed when that content was loaded into the editor. This vulnerability has been patched in TinyMCE 7.2.0, TinyMCE 6.8.4 and TinyMCE 5.11.0 LTS by ensuring that content within noscript elements are properly parsed. Users are advised to upgrade. There are no known workarounds for this vulnerability.","ecosystems":["NuGet","Packagist","PyPI","npm"],"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":"TinyMCE Cross-Site Scripting (XSS) vulnerability using noscript elements","id":"CVE-2024-38357","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"NuGet","product":null,"products":[],"type":"xss","year":"2024"},"n_packages":21,"n_references":5,"next":{"headline":"Symlink bypasses filesystem sandbox in wasmer","id":"CVE-2024-38358"},"packages":[{"ecosystem":"NuGet","fixed":["5.11.0"],"introduced":["0"],"last_affected":[],"package":"TinyMCE","purl":null,"source":"GHSA-w9jx-4g6g-rp7x"},{"ecosystem":"NuGet","fixed":["5.11.0"],"introduced":["0"],"last_affected":[],"package":"TinyMCE","purl":"pkg:nuget/TinyMCE","source":"GHSA-w9jx-4g6g-rp7x"},{"ecosystem":"NuGet","fixed":["6.8.4"],"introduced":["6.0.0"],"last_affected":[],"package":"TinyMCE","purl":null,"source":"GHSA-w9jx-4g6g-rp7x"},{"ecosystem":"NuGet","fixed":["6.8.4"],"introduced":["6.0.0"],"last_affected":[],"package":"TinyMCE","purl":"pkg:nuget/TinyMCE","source":"GHSA-w9jx-4g6g-rp7x"},{"ecosystem":"NuGet","fixed":["7.2.0"],"introduced":["7.0.0"],"last_affected":[],"package":"TinyMCE","purl":null,"source":"GHSA-w9jx-4g6g-rp7x"},{"ecosystem":"NuGet","fixed":["7.2.0"],"introduced":["7.0.0"],"last_affected":[],"package":"TinyMCE","purl":"pkg:nuget/TinyMCE","source":"GHSA-w9jx-4g6g-rp7x"},{"ecosystem":"Packagist","fixed":["5.11.0"],"introduced":["0"],"last_affected":[],"package":"tinymce/tinymce","purl":null,"source":"GHSA-w9jx-4g6g-rp7x"},{"ecosystem":"Packagist","fixed":["5.11.0"],"introduced":["0"],"last_affected":[],"package":"tinymce/tinymce","purl":"pkg:composer/tinymce/tinymce","source":"GHSA-w9jx-4g6g-rp7x"},{"ecosystem":"Packagist","fixed":["6.8.4"],"introduced":["6.0.0"],"last_affected":[],"package":"tinymce/tinymce","purl":null,"source":"GHSA-w9jx-4g6g-rp7x"},{"ecosystem":"Packagist","fixed":["6.8.4"],"introduced":["6.0.0"],"last_affected":[],"package":"tinymce/tinymce","purl":"pkg:composer/tinymce/tinymce","source":"GHSA-w9jx-4g6g-rp7x"},{"ecosystem":"Packagist","fixed":["7.2.0"],"introduced":["7.0.0"],"last_affected":[],"package":"tinymce/tinymce","purl":null,"source":"GHSA-w9jx-4g6g-rp7x"},{"ecosystem":"Packagist","fixed":["7.2.0"],"introduced":["7.0.0"],"last_affected":[],"package":"tinymce/tinymce","purl":"pkg:composer/tinymce/tinymce","source":"GHSA-w9jx-4g6g-rp7x"},{"ecosystem":"PyPI","fixed":["4.1.0"],"introduced":["0"],"last_affected":[],"package":"django-tinymce","purl":null,"source":"GHSA-w9jx-4g6g-rp7x"},{"ecosystem":"PyPI","fixed":["4.1.0"],"introduced":["0"],"last_affected":[],"package":"django-tinymce","purl":"pkg:pypi/django-tinymce","source":"GHSA-w9jx-4g6g-rp7x"},{"ecosystem":"PyPI","fixed":["4.1.0"],"introduced":["0"],"last_affected":[],"package":"django-tinymce","purl":"pkg:pypi/django-tinymce","source":"PYSEC-2026-1302"},{"ecosystem":"npm","fixed":["5.11.0"],"introduced":["0"],"last_affected":[],"package":"tinymce","purl":null,"source":"GHSA-w9jx-4g6g-rp7x"},{"ecosystem":"npm","fixed":["5.11.0"],"introduced":["0"],"last_affected":[],"package":"tinymce","purl":"pkg:npm/tinymce","source":"GHSA-w9jx-4g6g-rp7x"},{"ecosystem":"npm","fixed":["6.8.4"],"introduced":["6.0.0"],"last_affected":[],"package":"tinymce","purl":null,"source":"GHSA-w9jx-4g6g-rp7x"},{"ecosystem":"npm","fixed":["6.8.4"],"introduced":["6.0.0"],"last_affected":[],"package":"tinymce","purl":"pkg:npm/tinymce","source":"GHSA-w9jx-4g6g-rp7x"},{"ecosystem":"npm","fixed":["7.2.0"],"introduced":["7.0.0"],"last_affected":[],"package":"tinymce","purl":null,"source":"GHSA-w9jx-4g6g-rp7x"},{"ecosystem":"npm","fixed":["7.2.0"],"introduced":["7.0.0"],"last_affected":[],"package":"tinymce","purl":"pkg:npm/tinymce","source":"GHSA-w9jx-4g6g-rp7x"}],"prev":{"headline":"TinyMCE Cross-Site Scripting (XSS) vulnerability using noneditable_regexp option","id":"CVE-2024-38356"},"products":["tinymce"],"published":"2024-06-19","related":[],"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":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"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":["tinymce"]},"summary":"Attackers can execute malicious scripts via crafted noscript elements in TinyMCE, requiring users to upgrade to patched versions.","url":"https://insights.sbomify.com/CVE-2024-38357/"}