{"answers":{"affected":"12 open source packages ship an affected version, including TinyMCE, tinymce/tinymce and tinymce. It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-23494 in the wild and no public exploit code.","fix":"Upgrade TinyMCE to a fixed version for your release line: 5.10.7 or 6.3.1.","what":"CVE-2022-23494 is a medium-severity cross-site scripting vulnerability in tinymce, published on 8 Dec 2022. 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-2022-23494 and fix it if it is affected.\n\nWhat it is: CVE-2022-23494 is a medium-severity cross-site scripting vulnerability in tinymce, published on 8 Dec 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2022-23494 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- TinyMCE (NuGet): affected all versions; fixed in 5.10.7\n- TinyMCE (NuGet): affected all versions; fixed in 5.10.7\n- TinyMCE (NuGet): affected from 6.0.0; fixed in 6.3.1\n- TinyMCE (NuGet): affected from 6.0.0; fixed in 6.3.1\n- tinymce/tinymce (Packagist): affected all versions; fixed in 5.10.7\n- tinymce/tinymce (Packagist): affected all versions; fixed in 5.10.7\n- tinymce/tinymce (Packagist): affected from 6.0.0; fixed in 6.3.1\n- tinymce/tinymce (Packagist): affected from 6.0.0; fixed in 6.3.1\n- tinymce (npm): affected all versions; fixed in 5.10.7\n- tinymce (npm): affected all versions; fixed in 5.10.7\n- tinymce (npm): affected from 6.0.0; fixed in 6.3.1\n- tinymce (npm): affected from 6.0.0; fixed in 6.3.1\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-2022-23494/ (Markdown: https://insights.sbomify.com/CVE-2022-23494/index.md)","id":"CVE-2022-23494","markdown":"https://insights.sbomify.com/CVE-2022-23494/index.md","name":"CVE-2022-23494","record":{"aliases":["GHSA-gg8r-xjwq-4w92","UBUNTU-CVE-2022-23494"],"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":"low_privilege","summary":"Attackers can execute arbitrary JavaScript via malicious HTML in TinyMCE alert dialogs, affecting users of plugins like image.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"tinymce","vendor":"tiny"}],"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":"tinymce is an open source rich text editor. A cross-site scripting (XSS) vulnerability was discovered in the alert and confirm dialogs when these dialogs were provided with malicious HTML content. This can occur in plugins that use the alert or confirm dialogs, such as in the `image` plugin, which presents these dialogs when certain errors occur. The vulnerability allowed arbitrary JavaScript execution when an alert presented in the TinyMCE UI for the current user. This vulnerability has been patched in TinyMCE 5.10.7 and TinyMCE 6.3.1 by ensuring HTML sanitization was still performed after unwrapping invalid elements. Users are advised to upgrade to either 5.10.7 or 6.3.1. Users unable to upgrade may ensure the the `images_upload_handler` returns a valid value as per the images_upload_handler documentation.","ecosystems":["NuGet","Packagist","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":"Cross-site scripting vulnerability in TinyMCE alerts","id":"CVE-2022-23494","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"NuGet","product":null,"products":[],"type":"xss","year":"2022"},"n_packages":12,"n_references":6,"next":{"headline":"ProtoNode may be modified such that common method calls may panic in ipfs/go-merkledag","id":"CVE-2022-23495"},"packages":[{"ecosystem":"NuGet","fixed":["5.10.7"],"introduced":["0"],"last_affected":[],"package":"TinyMCE","purl":null,"source":"GHSA-gg8r-xjwq-4w92"},{"ecosystem":"NuGet","fixed":["5.10.7"],"introduced":["0"],"last_affected":[],"package":"TinyMCE","purl":"pkg:nuget/TinyMCE","source":"GHSA-gg8r-xjwq-4w92"},{"ecosystem":"NuGet","fixed":["6.3.1"],"introduced":["6.0.0"],"last_affected":[],"package":"TinyMCE","purl":null,"source":"GHSA-gg8r-xjwq-4w92"},{"ecosystem":"NuGet","fixed":["6.3.1"],"introduced":["6.0.0"],"last_affected":[],"package":"TinyMCE","purl":"pkg:nuget/TinyMCE","source":"GHSA-gg8r-xjwq-4w92"},{"ecosystem":"Packagist","fixed":["5.10.7"],"introduced":["0"],"last_affected":[],"package":"tinymce/tinymce","purl":null,"source":"GHSA-gg8r-xjwq-4w92"},{"ecosystem":"Packagist","fixed":["5.10.7"],"introduced":["0"],"last_affected":[],"package":"tinymce/tinymce","purl":"pkg:composer/tinymce/tinymce","source":"GHSA-gg8r-xjwq-4w92"},{"ecosystem":"Packagist","fixed":["6.3.1"],"introduced":["6.0.0"],"last_affected":[],"package":"tinymce/tinymce","purl":null,"source":"GHSA-gg8r-xjwq-4w92"},{"ecosystem":"Packagist","fixed":["6.3.1"],"introduced":["6.0.0"],"last_affected":[],"package":"tinymce/tinymce","purl":"pkg:composer/tinymce/tinymce","source":"GHSA-gg8r-xjwq-4w92"},{"ecosystem":"npm","fixed":["5.10.7"],"introduced":["0"],"last_affected":[],"package":"tinymce","purl":null,"source":"GHSA-gg8r-xjwq-4w92"},{"ecosystem":"npm","fixed":["5.10.7"],"introduced":["0"],"last_affected":[],"package":"tinymce","purl":"pkg:npm/tinymce","source":"GHSA-gg8r-xjwq-4w92"},{"ecosystem":"npm","fixed":["6.3.1"],"introduced":["6.0.0"],"last_affected":[],"package":"tinymce","purl":null,"source":"GHSA-gg8r-xjwq-4w92"},{"ecosystem":"npm","fixed":["6.3.1"],"introduced":["6.0.0"],"last_affected":[],"package":"tinymce","purl":"pkg:npm/tinymce","source":"GHSA-gg8r-xjwq-4w92"}],"prev":{"headline":"Out of Bound Read in xrdp","id":"CVE-2022-23493"},"products":["tinymce"],"published":"2022-12-08","related":[{"cvss_score":8.7,"headline":"TinyMCE Cross-Site Scripting (XSS) vulnerability using through data-mce- prefixed src, href, style attributes","id":"CVE-2026-47759","kev_date_added":null,"published":"2026-05-28"},{"cvss_score":8.7,"headline":"TinyMCE Cross-Site Scripting (XSS) vulnerability using sanitization bypass through nested SVGs","id":"CVE-2026-47760","kev_date_added":null,"published":"2026-05-28"},{"cvss_score":8.7,"headline":"TinyMCE Cross-Site Scripting (XSS) vulnerability using media plugin `data-mce-object` injection","id":"CVE-2026-47761","kev_date_added":null,"published":"2026-05-28"},{"cvss_score":8.7,"headline":"TinyMCE Cross-Site Scripting (XSS) vulnerability through `mce:protected` comments","id":"CVE-2026-47762","kev_date_added":null,"published":"2026-05-28"},{"cvss_score":6.1,"headline":"Cross-site scripting vulnerability in TinyMCE","id":"CVE-2024-21908","kev_date_added":null,"published":"2024-01-03"},{"cvss_score":6.1,"headline":"Cross-site scripting vulnerability in TinyMCE plugins","id":"CVE-2024-21910","kev_date_added":null,"published":"2024-01-03"},{"cvss_score":6.1,"headline":"Cross-site scripting vulnerability in TinyMCE","id":"CVE-2024-21911","kev_date_added":null,"published":"2024-01-03"}],"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":"2025-04-23","vendors":["tinymce"]},"summary":"Attackers can execute arbitrary JavaScript via malicious HTML in TinyMCE alert dialogs, affecting users of plugins like image.","url":"https://insights.sbomify.com/CVE-2022-23494/"}