XBlock vulnerable to Cross-Site Scripting (XSS)
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
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | xblock-drag-and-drop-v2 | < 3.0.0 | 3.0.0 |
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/releases/tag/v3.0.0
- https://github.com/openedx/xblock-drag-and-drop-v2/commit/68887d1b4a44325d2de7573d450e41129ba98b1a
- https://nvd.nist.gov/vuln/detail/CVE-2022-46147
- https://github.com/openedx/xblock-drag-and-drop-v2/commit/53c4482f9bb6d8c7ccdf5253bd82c84a222b2492
- https://github.com/openedx/xblock-drag-and-drop-v2
- https://github.com/pypa/advisory-database/tree/main/vulns/xblock-drag-and-drop-v2/PYSEC-2022-43175.yaml
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H- Weakness (CWE)
CWE-79, CWE-80- Platform
- Python (PyPI)
- Package
xblock-drag-and-drop-v2- Disclosed
- 28.11.2022
- Updated
- 11.10.2026 11:20
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2022-43175 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-qv6c-367r-3w6q - CC BY 4.0
Vulnerability history: xblock-drag-and-drop-v2
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.