{"answers":{"affected":"20 open source packages ship an affected version, including drupal/core, drupal and drupal/drupal. It affects 4 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-33829 exists.","fix":"Upgrade drupal/core to a fixed version for your release line: 7.80, 8.9.16, 9.0.14 or 9.1.9.","what":"CVE-2021-33829 is a medium-severity cross-site scripting vulnerability in Debian Debian Linux, published on 9 Jun 2021. 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-2021-33829 and fix it if it is affected.\n\nWhat it is: CVE-2021-33829 is a medium-severity cross-site scripting vulnerability in Debian Debian Linux, published on 9 Jun 2021. An attacker can exploit it over the internet without logging in, 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-2021-33829 exists.\n\nAffected packages and fixed versions:\n- drupal/core (Packagist): affected from 7.0.0; fixed in 7.80\n- drupal/core (Packagist): affected from 7.0.0; fixed in 7.80\n- drupal/core (Packagist): affected from 8.0.0; fixed in 8.9.16, 9.0.14, 9.1.9\n- drupal/core (Packagist): affected from 8.0.0; fixed in 8.9.16\n- drupal/core (Packagist): affected from 8.0.0; fixed in 8.9.16\n- drupal/core (Packagist): affected from 9.0.0; fixed in 9.0.14\n- drupal/core (Packagist): affected from 9.0.0; fixed in 9.0.14\n- drupal/core (Packagist): affected from 9.1.0; fixed in 9.1.9\n- drupal/core (Packagist): affected from 9.1.0; fixed in 9.1.9\n- drupal (Bitnami): affected from 8.9.0; fixed in 8.9.16, 9.0.14, 9.1.9\n- drupal/drupal (Packagist): affected from 7.0.0; fixed in 7.80\n- drupal/drupal (Packagist): affected from 7.0.0; fixed in 7.80\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-33829/ (Markdown: https://insights.sbomify.com/CVE-2021-33829/index.md)","id":"CVE-2021-33829","markdown":"https://insights.sbomify.com/CVE-2021-33829/index.md","name":"CVE-2021-33829","record":{"aliases":["BIT-drupal-2021-33829","DEBIAN-CVE-2021-33829","DRUPAL-CORE-2021-003","GHSA-rgx6-rjj4-c388","UBUNTU-CVE-2021-33829"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"CKEditor HTML processor","requires_auth":"none","summary":"Remote attackers can inject executable JavaScript via crafted comments in CKEditor's HTML Data Processor, potentially compromising user sessions.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"ckeditor","vendor":"ckeditor"},{"product":"debian_linux","vendor":"debian"},{"product":"drupal","vendor":"drupal"},{"product":"fedora","vendor":"fedoraproject"}],"cvss":{"score":6.1,"severity":"medium","source":"nvd","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":"A cross-site scripting (XSS) vulnerability in the HTML Data Processor in CKEditor 4 4.14.0 through 4.16.x before 4.16.1 allows remote attackers to inject executable JavaScript code through a crafted comment because --!\u003e is mishandled.","ecosystems":["Bitnami","Packagist","npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":1,"refs":[{"date":null,"kind":"nuclei","ref":"http/cves/2021/CVE-2021-33829.yaml","stars":null,"title":"Drupal 7 CKEditor XSS"}],"tier":"weaponised"},"has_fix":true,"headline":"ckeditor4 vulnerable to cross-site scripting","id":"CVE-2021-33829","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"debian:debian_linux","products":["debian:debian_linux","drupal:drupal","fedoraproject:fedora"],"type":"xss","year":"2021"},"n_packages":20,"n_references":6,"next":{"headline":"Missing authorization in n/a","id":"CVE-2021-33831"},"packages":[{"ecosystem":"Bitnami","fixed":["8.9.16","9.0.14","9.1.9"],"introduced":["8.9.0","9.0.0","9.1.0"],"last_affected":[],"package":"drupal","purl":"pkg:bitnami/drupal","source":"BIT-drupal-2021-33829"},{"ecosystem":"Packagist","fixed":["7.80"],"introduced":["7.0.0"],"last_affected":[],"package":"drupal/core","purl":null,"source":"GHSA-rgx6-rjj4-c388"},{"ecosystem":"Packagist","fixed":["7.80"],"introduced":["7.0.0"],"last_affected":[],"package":"drupal/core","purl":"pkg:composer/drupal/core","source":"GHSA-rgx6-rjj4-c388"},{"ecosystem":"Packagist","fixed":["8.9.16","9.0.14","9.1.9"],"introduced":["8.0.0","9.0.0","9.1.0"],"last_affected":[],"package":"drupal/core","purl":"pkg:composer/drupal/core","source":"DRUPAL-CORE-2021-003"},{"ecosystem":"Packagist","fixed":["8.9.16"],"introduced":["8.0.0"],"last_affected":[],"package":"drupal/core","purl":null,"source":"GHSA-rgx6-rjj4-c388"},{"ecosystem":"Packagist","fixed":["8.9.16"],"introduced":["8.0.0"],"last_affected":[],"package":"drupal/core","purl":"pkg:composer/drupal/core","source":"GHSA-rgx6-rjj4-c388"},{"ecosystem":"Packagist","fixed":["9.0.14"],"introduced":["9.0.0"],"last_affected":[],"package":"drupal/core","purl":null,"source":"GHSA-rgx6-rjj4-c388"},{"ecosystem":"Packagist","fixed":["9.0.14"],"introduced":["9.0.0"],"last_affected":[],"package":"drupal/core","purl":"pkg:composer/drupal/core","source":"GHSA-rgx6-rjj4-c388"},{"ecosystem":"Packagist","fixed":["9.1.9"],"introduced":["9.1.0"],"last_affected":[],"package":"drupal/core","purl":null,"source":"GHSA-rgx6-rjj4-c388"},{"ecosystem":"Packagist","fixed":["9.1.9"],"introduced":["9.1.0"],"last_affected":[],"package":"drupal/core","purl":"pkg:composer/drupal/core","source":"GHSA-rgx6-rjj4-c388"},{"ecosystem":"Packagist","fixed":["7.80"],"introduced":["7.0.0"],"last_affected":[],"package":"drupal/drupal","purl":null,"source":"GHSA-rgx6-rjj4-c388"},{"ecosystem":"Packagist","fixed":["7.80"],"introduced":["7.0.0"],"last_affected":[],"package":"drupal/drupal","purl":"pkg:composer/drupal/drupal","source":"GHSA-rgx6-rjj4-c388"},{"ecosystem":"Packagist","fixed":["8.9.16"],"introduced":["8.0.0"],"last_affected":[],"package":"drupal/drupal","purl":null,"source":"GHSA-rgx6-rjj4-c388"},{"ecosystem":"Packagist","fixed":["8.9.16"],"introduced":["8.0.0"],"last_affected":[],"package":"drupal/drupal","purl":"pkg:composer/drupal/drupal","source":"GHSA-rgx6-rjj4-c388"},{"ecosystem":"Packagist","fixed":["9.0.14"],"introduced":["9.0.0"],"last_affected":[],"package":"drupal/drupal","purl":null,"source":"GHSA-rgx6-rjj4-c388"},{"ecosystem":"Packagist","fixed":["9.0.14"],"introduced":["9.0.0"],"last_affected":[],"package":"drupal/drupal","purl":"pkg:composer/drupal/drupal","source":"GHSA-rgx6-rjj4-c388"},{"ecosystem":"Packagist","fixed":["9.1.9"],"introduced":["9.1.0"],"last_affected":[],"package":"drupal/drupal","purl":null,"source":"GHSA-rgx6-rjj4-c388"},{"ecosystem":"Packagist","fixed":["9.1.9"],"introduced":["9.1.0"],"last_affected":[],"package":"drupal/drupal","purl":"pkg:composer/drupal/drupal","source":"GHSA-rgx6-rjj4-c388"},{"ecosystem":"npm","fixed":["4.16.1"],"introduced":["4.14.0"],"last_affected":[],"package":"ckeditor4","purl":null,"source":"GHSA-rgx6-rjj4-c388"},{"ecosystem":"npm","fixed":["4.16.1"],"introduced":["4.14.0"],"last_affected":[],"package":"ckeditor4","purl":"pkg:npm/ckeditor4","source":"GHSA-rgx6-rjj4-c388"}],"prev":{"headline":"File upload in n/a","id":"CVE-2021-33828"},"products":["n/a"],"published":"2021-06-09","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":7.3,"headline":"Execution of JavaScript code using malformed HTML in ckeditor","id":"CVE-2021-37695","kev_date_added":null,"published":"2021-08-12"},{"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":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"MIT","name":"Drupal","prefix":"DRUPAL"},{"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)"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["n/a"]},"summary":"Remote attackers can inject executable JavaScript via crafted comments in CKEditor's HTML Data Processor, potentially compromising user sessions.","url":"https://insights.sbomify.com/CVE-2021-33829/"}