MEDIUM6.1
PYSEC-2022-43175
Quick fix
PYSEC-2022-43175 — xblock-drag-and-drop-v2: upgrade to the fixed version with the command below.
pip install --upgrade 'xblock-drag-and-drop-v2>=68887d1b4a44325d2de7573d450e41129ba98b1a'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.
Are you affected?
Enter the version of the package you're using.
Affected packages
PyPI/xblock-drag-and-drop-v2
Introduced in:
0Fixed in: 68887d1b4a44325d2de7573d450e41129ba98b1aFix
pip install --upgrade 'xblock-drag-and-drop-v2>=68887d1b4a44325d2de7573d450e41129ba98b1a'References
- https://github.com/openedx/xblock-drag-and-drop-v2/security/advisories/GHSA-qv6c-367r-3w6q[ADVISORY]
- https://github.com/openedx/xblock-drag-and-drop-v2/pull/295#issuecomment-1277693864[WEB]
- https://github.com/openedx/xblock-drag-and-drop-v2/releases/tag/v3.0.0[WEB]
- https://github.com/openedx/xblock-drag-and-drop-v2/commit/68887d1b4a44325d2de7573d450e41129ba98b1a[FIX]