{"id":"CVE-2022-46147","summary":"Drag and Drop XBlock v2 has XSS Issues in Xblock Input Fields","details":"Drag and Drop XBlock v2 implements a drag-and-drop style problem, where a learner has to drag items to zones on a target image. Versions prior to 3.0.0 are vulnerable to cross-site scripting in multiple XBlock Fields. Any platform that has deployed the XBlock may be impacted. Version 3.0.0 contains a patch for this issue. There are no known workarounds.","aliases":["GHSA-qv6c-367r-3w6q","PYSEC-2022-43175"],"modified":"2026-08-12T03:51:46.928625193Z","published":"2022-11-28T00:00:00Z","database_specific":{"cwe_ids":["CWE-79"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/46xxx/CVE-2022-46147.json","cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://github.com/openedx/xblock-drag-and-drop-v2/releases/tag/v3.0.0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/46xxx/CVE-2022-46147.json"},{"type":"ADVISORY","url":"https://github.com/openedx/xblock-drag-and-drop-v2/security/advisories/GHSA-qv6c-367r-3w6q"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-46147"},{"type":"FIX","url":"https://github.com/openedx/xblock-drag-and-drop-v2/commit/68887d1b4a44325d2de7573d450e41129ba98b1a"},{"type":"FIX","url":"https://github.com/openedx/xblock-drag-and-drop-v2/pull/295#issuecomment-1277693864"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/openedx/xblock-drag-and-drop-v2","events":[{"introduced":"0"},{"fixed":"68887d1b4a44325d2de7573d450e41129ba98b1a"}],"database_specific":{"source":["AFFECTED_FIELD","CPE_RANGE","REFERENCES"],"cpe":"cpe:2.3:a:openedx:xblock-drag-and-drop-v2:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"3.0.0"}]}}],"versions":["v2.7.0","v2.6.0","v2.5.0","v2.4.2","v2.4.1","v2.4.0","v2.3.11","v2.3.10","v2.3.9","v2.3.8","v2.3.6","v2.3.5","v2.3.4","v2.3.3","v2.3.2","2.3.1","v2.3.0","v2.2.10","v2.2.9","v2.2.8","2.2.8","v2.2.6","2.2.6","v2.2.5","v2.2.4","v2.2.3","v2.2.1","v2.2.0","v2.1.8","v2.1.7","v2.1.6","2.1.5","v2.1.4","v2.1.3","v2.1.2","v2.1.1","v2.1.0","v2.0.18","v2.0.17","v2.0.16","v2.0.15","v2.0.14","v2.0.12","v2.0.11","v2.0.10","v2.0.9","v2.0.8","v2.0.7","v2.0.6","v2.0.5","v2.0.4","v2.0.3","v2.0.2","v2.0.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-46147.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H"}]}