{"answers":{"affected":"2 open source packages ship an affected version, including ckeditor4. It affects 12 products.","exploited":"There is no known exploitation of CVE-2021-37695 in the wild and no public exploit code.","fix":"Upgrade ckeditor4 to 4.16.2 or later.","what":"CVE-2021-37695 is a high-severity cross-site scripting vulnerability in Debian Debian Linux, published on 12 Aug 2021. 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-2021-37695 and fix it if it is affected.\n\nWhat it is: CVE-2021-37695 is a high-severity cross-site scripting vulnerability in Debian Debian Linux, published on 12 Aug 2021. 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-2021-37695 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- ckeditor4 (npm): affected all versions; fixed in 4.16.2\n- ckeditor4 (npm): affected all versions; fixed in 4.16.2\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-2021-37695/ (Markdown: https://insights.sbomify.com/CVE-2021-37695/index.md)","id":"CVE-2021-37695","markdown":"https://insights.sbomify.com/CVE-2021-37695/index.md","name":"CVE-2021-37695","record":{"aliases":["DEBIAN-CVE-2021-37695","GHSA-m94c-37g6-cjhc","UBUNTU-CVE-2021-37695"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"CKEditor 4 library","requires_auth":"low_privilege","summary":"Attackers can execute arbitrary JavaScript code by injecting malformed HTML into CKEditor 4 fake objects, affecting all users of the library.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"ckeditor","vendor":"ckeditor"},{"product":"debian_linux","vendor":"debian"},{"product":"fedora","vendor":"fedoraproject"},{"product":"application_express","vendor":"oracle"},{"product":"banking_party_management","vendor":"oracle"},{"product":"commerce_guided_search","vendor":"oracle"},{"product":"commerce_merchandising","vendor":"oracle"},{"product":"documaker","vendor":"oracle"},{"product":"financial_services_analytical_applications_infrastructure","vendor":"oracle"},{"product":"financial_services_model_management_and_governance","vendor":"oracle"},{"product":"jd_edwards_enterpriseone_tools","vendor":"oracle"},{"product":"peoplesoft_enterprise_peopletools","vendor":"oracle"}],"cvss":{"score":7.3,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"ckeditor is an open source WYSIWYG HTML editor with rich content support. A potential vulnerability has been discovered in CKEditor 4 [Fake Objects](https://ckeditor.com/cke4/addon/fakeobjects) package. The vulnerability allowed to inject malformed Fake Objects HTML, which could result in executing JavaScript code. It affects all users using the CKEditor 4 plugins listed above at version \u003c 4.16.2. The problem has been recognized and patched. The fix will be available in version 4.16.2.","ecosystems":["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":"Execution of JavaScript code using malformed HTML in ckeditor","id":"CVE-2021-37695","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":"debian:debian_linux","products":["debian:debian_linux","fedoraproject:fedora","oracle:commerce_guided_search","oracle:financial_services_analytical_applications_infrastructure","oracle:jd_edwards_enterpriseone_tools","oracle:peoplesoft_enterprise_peopletools"],"type":"xss","year":"2021"},"n_packages":2,"n_references":8,"next":{"headline":"Sensitive information leak in MassDM of tmerc-cogs","id":"CVE-2021-37696"},"packages":[{"ecosystem":"npm","fixed":["4.16.2"],"introduced":["0"],"last_affected":[],"package":"ckeditor4","purl":null,"source":"GHSA-m94c-37g6-cjhc"},{"ecosystem":"npm","fixed":["4.16.2"],"introduced":["0"],"last_affected":[],"package":"ckeditor4","purl":"pkg:npm/ckeditor4","source":"GHSA-m94c-37g6-cjhc"}],"prev":{"headline":"Code injection issue for java-spring-cloud-stream-template","id":"CVE-2021-37694"},"products":["ckeditor4"],"published":"2021-08-12","related":[{"cvss_score":9.8,"headline":"File upload in n/a","id":"CVE-2023-31541","kev_date_added":null,"published":"2023-06-13"},{"cvss_score":8.2,"headline":"Advanced Content Filter (ACF) vulnerability allowing to execute JavaScript code using malformed HTML","id":"CVE-2021-41164","kev_date_added":null,"published":"2021-11-17"},{"cvss_score":8.2,"headline":"HTML comments vulnerability allowing to execute JavaScript code","id":"CVE-2021-41165","kev_date_added":null,"published":"2021-11-17"},{"cvss_score":7.6,"headline":"Cross-site scripting in ckeditor via abuse of undo functionality","id":"CVE-2021-32808","kev_date_added":null,"published":"2021-08-12"},{"cvss_score":7.5,"headline":"Missing authorization in CKEditor Drupal module","id":"CVE-2011-4972","kev_date_added":null,"published":"2019-11-13"},{"cvss_score":6.8,"headline":"Code injection in n/a","id":"CVE-2012-2067","kev_date_added":null,"published":"2012-09-05"}],"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["ckeditor"]},"summary":"Attackers can execute arbitrary JavaScript code by injecting malformed HTML into CKEditor 4 fake objects, affecting all users of the library.","url":"https://insights.sbomify.com/CVE-2021-37695/"}