GHSA-qv6c-367r-3w6q
XBlock vulnerable to Cross-Site Scripting (XSS)
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| PyPI | xblock-drag-and-drop-v2 | < 3.0.0 | 3.0.0 |
Details
As written in the advisory (Markdown source, shown as plain text).
### Impact
XSS Vulnerability in multiple XBlock Fields. Any platform that has deployed the XBlock will be impacted.
### Patches
https://github.com/openedx/xblock-drag-and-drop-v2/commit/53c4482f9bb6d8c7ccdf5253bd82c84a222b2492
The fix is compatible with all Open edX releases newer than Lilac.
### Workarounds
None.
### References
https://github.com/openedx/xblock-drag-and-drop-v2/pull/295#issuecomment-1277693864
References
External links from the advisory. They lead to third-party sites.
- https://github.com/openedx/xblock-drag-and-drop-v2/security/advisories/GHSA-qv6c-367r-3w6q
- https://nvd.nist.gov/vuln/detail/CVE-2022-46147
- https://github.com/openedx/xblock-drag-and-drop-v2/pull/295#issuecomment-1277693864
- https://github.com/openedx/xblock-drag-and-drop-v2/commit/53c4482f9bb6d8c7ccdf5253bd82c84a222b2492
- https://github.com/openedx/xblock-drag-and-drop-v2/commit/68887d1b4a44325d2de7573d450e41129ba98b1a
- https://github.com/openedx/xblock-drag-and-drop-v2
- https://github.com/openedx/xblock-drag-and-drop-v2/releases/tag/v3.0.0
- https://github.com/pypa/advisory-database/tree/main/vulns/xblock-drag-and-drop-v2/PYSEC-2022-43175.yaml