Vulnerability · Published Nov 28, 2022 · Assigned by GitHub_M
CVE-2022-46147Drag and Drop XBlock v2 has XSS Issues in Xblock Input Fields
High 8.4
In plain English
A high-severity cross-site scripting in xblock-drag-and-drop-v2 from openedx. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 60% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | xblock-drag-and-drop-v2 | 3.0.0 | GHSA-qv6c-367r-3w6q |
| PyPI | xblock-drag-and-drop-v2 | 3.0.0 | PYSEC-2022-43175 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| openedx | xblock-drag-and-drop-v2 | < 3.0.0 |
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H
References
- https://github.com/openedx/xblock-drag-and-drop-v2/security/advisories/GHSA-qv6c-367r-3w6q
- https://github.com/openedx/xblock-drag-and-drop-v2/pull/295#issuecomment-1277693864
- https://github.com/openedx/xblock-drag-and-drop-v2/commit/68887d1b4a44325d2de7573d450e41129ba98b1a
- https://github.com/openedx/xblock-drag-and-drop-v2/releases/tag/v3.0.0