{"id":"CVE-2022-46147","aliases":["EUVD-2022-0416","GHSA-qv6c-367r-3w6q","PYSEC-2022-43175"],"status":"published","title":"Drag and Drop XBlock v2 has XSS Issues in Xblock Input Fields","description":"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.","severity":{"version":"3.1","score":8.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.00896,"percentile":0.59801,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79","CWE-80"],"published":"2022-11-28T00:00:00Z","modified":"2026-10-28T02:31:08Z","fixes":[{"ecosystem":"PyPI","package":"xblock-drag-and-drop-v2","fixed_in":["3.0.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"xblock-drag-and-drop-v2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.0"}]}]},{"source":"osv","ecosystem":"PyPI","package":"xblock-drag-and-drop-v2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.0"}]}],"versions":["2.5.0","2.7.0"]},{"source":"osv","ecosystem":"PyPI","package":"xblock-drag-and-drop-v2","ranges":[{"type":"GIT","events":[{"introduced":"0"},{"fixed":"68887d1b4a44325d2de7573d450e41129ba98b1a"}]},{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.0"}]}],"versions":["2.5.0","2.7.0"]}],"products":[{"vendor":"openedx","product":"xblock-drag-and-drop-v2"}],"references":[{"url":"https://github.com/openedx/xblock-drag-and-drop-v2/security/advisories/GHSA-qv6c-367r-3w6q","tags":["x_transferred","Patch","Third Party Advisory","advisory","web"]},{"url":"https://github.com/openedx/xblock-drag-and-drop-v2/pull/295#issuecomment-1277693864","tags":["x_transferred","Exploit","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/openedx/xblock-drag-and-drop-v2/commit/68887d1b4a44325d2de7573d450e41129ba98b1a","tags":["x_transferred","Patch","Release Notes","Third Party Advisory","fix","web"]},{"url":"https://github.com/openedx/xblock-drag-and-drop-v2/releases/tag/v3.0.0","tags":["x_transferred","Patch","Release Notes","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-46147","tags":["advisory"]},{"url":"https://github.com/openedx/xblock-drag-and-drop-v2/commit/53c4482f9bb6d8c7ccdf5253bd82c84a222b2492","tags":["web"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/xblock-drag-and-drop-v2/PYSEC-2022-43175.yaml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-qv6c-367r-3w6q"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/46xxx/CVE-2022-46147.json","tags":["advisory"]},{"url":"https://github.com/openedx/xblock-drag-and-drop-v2","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2022-46147","title":"Drag and Drop XBlock v2 has XSS Issues in Xblock Input Fields","description":"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.","status":"published","published":"2022-11-28T00:00:00Z","modified":"2025-04-22T15:59:21.749Z","cvss":[{"version":"3.1","score":8.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:34:32.156873Z"}],"euvd":[{"id":"EUVD-2022-0416","description":"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.","status":"published","published":"2022-11-28T00:00:00Z","modified":"2025-04-22T15:59:21Z","cvss":[{"version":"3.1","score":8.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T20:52:16.784071Z"}],"ghsa":[{"id":"GHSA-qv6c-367r-3w6q","title":"XBlock vulnerable to Cross-Site Scripting (XSS) ","description":"### 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\n","status":"published","published":"2022-12-02T22:26:22Z","modified":"2024-11-22T20:34:30Z","cvss":[{"version":"3.1","score":8.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-79","CWE-80"],"updated_at":"2026-11-02T14:38:22.774145Z"}],"nvd":[{"id":"CVE-2022-46147","description":"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.","status":"published","published":"2022-11-28T21:15:10.797Z","modified":"2026-06-17T05:11:18.133Z","cvss":[{"version":"3.1","score":8.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H","level":"high","assessor":"secondary"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:07:32.827264Z"}],"osv":[{"id":"CVE-2022-46147","title":"Drag and Drop XBlock v2 has XSS Issues in Xblock Input Fields","description":"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.","status":"published","published":"2022-11-28T00:00:00Z","modified":"2026-10-28T02:31:08.617605545Z","cvss":[{"version":"3.1","score":8.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:44:27.481647Z"},{"id":"GHSA-qv6c-367r-3w6q","title":"XBlock vulnerable to Cross-Site Scripting (XSS) ","description":"### 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\n","status":"published","published":"2022-12-02T22:26:22Z","modified":"2024-11-22T20:46:10.839222Z","cvss":[{"version":"3.1","score":8.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-79","CWE-80"],"updated_at":"2026-11-02T15:46:55.122811Z"},{"id":"PYSEC-2022-43175","description":"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.","status":"published","published":"2022-11-28T21:15:00Z","modified":"2024-11-21T14:57:16.331303Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:52:53.837392Z"}]}}
