# CVE-2022-46147: Drag and Drop XBlock v2 has XSS Issues in Xblock Input Fields

- Severity: High 8.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.16%, higher than 68% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-11-28T00:00:00.000Z
- Modified: 2026-06-17T05:11:18.133Z
- Also known as: GHSA-qv6c-367r-3w6q, PYSEC-2022-43175
- Weaknesses: CWE-79, CWE-80
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- openedx xblock-drag-and-drop-v2: < 3.0.0; before 3.0.0
- xblock-drag-and-drop-v2 (PyPI): before 3.0.0; before 68887d1b4a44325d2de7573d450e41129ba98b1a

## Every score

- GitHub_M: CVSS:3.1 8.4 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.4 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- PyPA Advisory Database: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/openedx/xblock-drag-and-drop-v2/pull/295#issuecomment-1277693864> (exploit, patch, third-party-advisory, web)
- <https://github.com/openedx/xblock-drag-and-drop-v2/security/advisories/GHSA-qv6c-367r-3w6q> (advisory, patch, third-party-advisory, web)
- <https://github.com/openedx/xblock-drag-and-drop-v2/commit/68887d1b4a44325d2de7573d450e41129ba98b1a> (fix, patch, release-notes, third-party-advisory, web)
- <https://github.com/openedx/xblock-drag-and-drop-v2/releases/tag/v3.0.0> (patch, release-notes, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-46147> (advisory)
- <https://github.com/openedx/xblock-drag-and-drop-v2/commit/53c4482f9bb6d8c7ccdf5253bd82c84a222b2492> (web)
- <https://github.com/openedx/xblock-drag-and-drop-v2> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/xblock-drag-and-drop-v2/PYSEC-2022-43175.yaml> (web)

## Sources

- CVE List: [CVE-2022-46147](https://www.cve.org/CVERecord?id=CVE-2022-46147), CVE Terms of Use, modified 2025-04-22
- GitHub Advisory Database: [GHSA-qv6c-367r-3w6q](https://github.com/advisories/GHSA-qv6c-367r-3w6q), CC-BY-4.0, modified 2024-11-22
- NVD: [CVE-2022-46147](https://nvd.nist.gov/vuln/detail/CVE-2022-46147), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2022-43175](https://osv.dev/vulnerability/PYSEC-2022-43175), CC-BY-4.0, modified 2024-11-21

---

Page: https://cve.day/CVE-2022-46147 · Whole record: https://cve.day/CVE-2022-46147.json · Rebuilt by cve.day 2026-11-25T22:58:17.099Z
