NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
🐍
🐍 PyPI
Not in CISA KEV
HIGH severity

CVE-2022-46147 — xblock-drag-and-drop-v2

HIGHFix: openedx/xblock-drag-and-drop-v2@68887d1

CVE-2022-46147 is a high-severity (CVSS 8.4) Cross-site Scripting (XSS) vulnerability in xblock-drag-and-drop-v2. 1 public exploit or proof-of-concept reference is indexed, so weaponization risk is real. A fix is available for xblock-drag-and-drop-v2 — see the affected versions and patch details below.

Drag and Drop XBlock v2 has XSS Issues in Xblock Input Fields

Also known asGHSA-qv6c-367r-3w6qPYSEC-2022-43175
Published
Updated
Affected
1 pkg
Patched
1 / 1
Exploits
1 known
Exploitation data as of Nov 10, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Exploitation Status

Proof-of-concept exploit code exists

  • CISA’s SSVC triage found public proof-of-concept exploit code for this CVE, though no confirmed active exploitation.
  • A successful exploit gives an attacker total control of the affected component, not partial access.

Exploitation and automatability from CISA’s SSVC triage for CVE-2022-46147.

EPSS Exploitation Probability

via FIRST.org ↗
0.9%probability of exploitation in next 30 days
Lower Risk+0.04%
Lower risk than most CVEs60th percentile — riskier than 60% of all scored CVEsHighest risk
0.01%0.47%0.93%1.40%0.5%0.9%May 26Sep 26Nov 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

Where this sits among everything scored

Real-World Exposure

1 pkg affected
🐍xblock-drag-and-drop-v2

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects PyPI packages — download data is not available via public APIs for these ecosystems.

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

1 total 1 fixed
EcosystemPackageVulnerable rangeFix
🐍PyPIxblock-drag-and-drop-v2all versions3.0.0pip install --upgrade 'xblock-drag-and-drop-v2==3.0.0'

Affected Products

1 product · 1 configurations
Application
xblock-drag-and-drop-v2openedx
< 3.0.0
range
Exploits & PoCs
1

Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for xblock-drag-and-drop-v2, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update xblock-drag-and-drop-v2 to 3.0.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2022-46147 is resolved across your whole dependency graph.

  3. Workarounds

    Escape or sanitise the affected output on the server side rather than relying on client-side filtering, and add a Content-Security-Policy that blocks inline script execution so injected markup cannot run even if it reaches the page.

Frequently Asked Questions

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.
O3 Security · Impact-Aware SCA

Is CVE-2022-46147 in your dependencies?

Find it across PyPI, including transitive dependencies.

CVE-2022-46147: xblock-drag-and-drop — Fixed in 3.0.0