XBlock vulnerable to Cross-Site Scripting (XSS)GHSA-qv6c-367r-3w6q
HIGHFix: openedx/xblock-drag-and-drop-v2#295GHSA-qv6c-367r-3w6q 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.
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 GHSA-qv6c-367r-3w6q.
EPSS Exploitation Probability
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
xblock-drag-and-drop-v2Real-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
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 Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐍PyPI | xblock-drag-and-drop-v2 | all versions | 3.0.0pip install --upgrade 'xblock-drag-and-drop-v2==3.0.0' |
Affected Products
xblock-drag-and-drop-v2openedxResearch 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 dependencyDetect
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.
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 GHSA-qv6c-367r-3w6q is resolved across your whole dependency graph.
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
Is GHSA-qv6c-367r-3w6q in your dependencies?
Find it across PyPI, including transitive dependencies.