{"id":"CVE-2022-46147","aliases":["CVE-2022-46147","GHSA-qv6c-367r-3w6q","PYSEC-2022-43175"],"related":[],"kind":"vulnerability","state":"published","title":"Drag and Drop XBlock v2 has XSS Issues in Xblock Input Fields","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\nXSS Vulnerability in multiple XBlock Fields.  Any platform that has deployed the XBlock will be impacted.\n\n### Patches\nhttps://github.com/openedx/xblock-drag-and-drop-v2/commit/53c4482f9bb6d8c7ccdf5253bd82c84a222b2492\n\nThe fix is compatible with all Open edX releases newer than Lilac.\n\n### Workarounds\nNone.\n\n### References\nhttps://github.com/openedx/xblock-drag-and-drop-v2/pull/295#issuecomment-1277693864","format":"markdown","source":"ghsa"},{"lang":"es","text":"Drag and Drop XBlock v2 implementa un problema de estilo de arrastrar y soltar, donde un alumno tiene que arrastrar elementos a zonas de una imagen de destino. Las versiones anteriores a la 3.0.0 son vulnerables a Cross-Site Scripting (XSS) en múltiples campos XBlock. Cualquier plataforma que haya implementado XBlock puede verse afectada. La versión 3.0.0 contiene un parche para este problema. No se conocen workarounds.","source":"nvd"}],"published":"2022-11-28T00:00:00.000Z","modified":"2026-06-17T05:11:18.133Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H","score":8.4,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H","score":8.4,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H","score":8.4,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-79","CWE-80"],"affected":[{"ranges":[{"version":"< 3.0.0","status":"affected"}],"vendor":"openedx","product":"xblock-drag-and-drop-v2","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.0.0"}],"ecosystem":"PyPI","package":"xblock-drag-and-drop-v2","purl":"pkg:pypi/xblock-drag-and-drop-v2","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"3.0.0"}],"vendor":"openedx","product":"xblock-drag-and-drop-v2","cpe":"cpe:2.3:a:openedx:xblock-drag-and-drop-v2:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"git","introduced":"0","status":"affected","fixed":"68887d1b4a44325d2de7573d450e41129ba98b1a"},{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.0.0"}],"ecosystem":"PyPI","package":"xblock-drag-and-drop-v2","purl":"pkg:pypi/xblock-drag-and-drop-v2","repo":"https://github.com/openedx/xblock-drag-and-drop-v2","source":"pysec"}],"references":[{"url":"https://github.com/openedx/xblock-drag-and-drop-v2/security/advisories/GHSA-qv6c-367r-3w6q","tags":["advisory","patch","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/openedx/xblock-drag-and-drop-v2/pull/295#issuecomment-1277693864","tags":["exploit","patch","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/openedx/xblock-drag-and-drop-v2/commit/68887d1b4a44325d2de7573d450e41129ba98b1a","tags":["fix","patch","release-notes","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/openedx/xblock-drag-and-drop-v2/releases/tag/v3.0.0","tags":["patch","release-notes","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-46147","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/openedx/xblock-drag-and-drop-v2/commit/53c4482f9bb6d8c7ccdf5253bd82c84a222b2492","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/openedx/xblock-drag-and-drop-v2","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/xblock-drag-and-drop-v2/PYSEC-2022-43175.yaml","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2025-04-22T15:40:03.212Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-46147","url":"https://www.cve.org/CVERecord?id=CVE-2022-46147","licence":"CVE Terms of Use","modified":"2025-04-22T15:59:21.749Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-qv6c-367r-3w6q","url":"https://github.com/advisories/GHSA-qv6c-367r-3w6q","licence":"CC-BY-4.0","modified":"2024-11-22T20:46:10.839Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-46147","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-46147","licence":"Public domain","modified":"2026-06-17T05:11:18.133Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2022-43175","url":"https://osv.dev/vulnerability/PYSEC-2022-43175","licence":"CC-BY-4.0","modified":"2024-11-21T14:57:16.331Z"}],"updatedAt":"2026-11-25T22:58:17.099Z","epss":{"score":0.01162,"percentile":0.68123,"date":"2026-12-01T12:00:22.000Z"}}