{"api_version":"1","generated_at":"2026-05-12T11:31:45+00:00","cve":"CVE-2022-46147","urls":{"html":"https://cve.report/CVE-2022-46147","api":"https://cve.report/api/cve/CVE-2022-46147.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-46147","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-46147"},"summary":{"title":"CVE-2022-46147","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.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2022-11-28 21:15:00","updated_at":"2022-12-01 23:07:00"},"problem_types":["CWE-79"],"metrics":[],"references":[{"url":"https://github.com/openedx/xblock-drag-and-drop-v2/pull/295#issuecomment-1277693864","name":"https://github.com/openedx/xblock-drag-and-drop-v2/pull/295#issuecomment-1277693864","refsource":"MISC","tags":[],"title":"feat: Add HTML support in explanation by abodacs · Pull Request #295 · openedx/xblock-drag-and-drop-v2 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/openedx/xblock-drag-and-drop-v2/security/advisories/GHSA-qv6c-367r-3w6q","name":"https://github.com/openedx/xblock-drag-and-drop-v2/security/advisories/GHSA-qv6c-367r-3w6q","refsource":"CONFIRM","tags":[],"title":"XSS Issues in Xblock Input Fields · Advisory · openedx/xblock-drag-and-drop-v2 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/openedx/xblock-drag-and-drop-v2/commit/68887d1b4a44325d2de7573d450e41129ba98b1a","name":"https://github.com/openedx/xblock-drag-and-drop-v2/commit/68887d1b4a44325d2de7573d450e41129ba98b1a","refsource":"MISC","tags":[],"title":"Merge pull request from GHSA-qv6c-367r-3w6q · openedx/xblock-drag-and-drop-v2@68887d1 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/openedx/xblock-drag-and-drop-v2/releases/tag/v3.0.0","name":"https://github.com/openedx/xblock-drag-and-drop-v2/releases/tag/v3.0.0","refsource":"MISC","tags":[],"title":"Release Sanitize HTML tags to prevent XSS vulnerabilities · openedx/xblock-drag-and-drop-v2 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-46147","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-46147","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2022","cve_id":"46147","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"openedx","cpe5":"xblock-drag-and-drop-v2","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2022-46147","STATE":"PUBLIC","TITLE":"Drag and Drop XBlock v2 has XSS Issues in Xblock Input Fields"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"xblock-drag-and-drop-v2","version":{"version_data":[{"version_value":"< 3.0.0"}]}}]},"vendor_name":"openedx"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.4,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"HIGH","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')"}]}]},"references":{"reference_data":[{"name":"https://github.com/openedx/xblock-drag-and-drop-v2/security/advisories/GHSA-qv6c-367r-3w6q","refsource":"CONFIRM","url":"https://github.com/openedx/xblock-drag-and-drop-v2/security/advisories/GHSA-qv6c-367r-3w6q"},{"name":"https://github.com/openedx/xblock-drag-and-drop-v2/pull/295#issuecomment-1277693864","refsource":"MISC","url":"https://github.com/openedx/xblock-drag-and-drop-v2/pull/295#issuecomment-1277693864"},{"name":"https://github.com/openedx/xblock-drag-and-drop-v2/commit/68887d1b4a44325d2de7573d450e41129ba98b1a","refsource":"MISC","url":"https://github.com/openedx/xblock-drag-and-drop-v2/commit/68887d1b4a44325d2de7573d450e41129ba98b1a"},{"name":"https://github.com/openedx/xblock-drag-and-drop-v2/releases/tag/v3.0.0","refsource":"MISC","url":"https://github.com/openedx/xblock-drag-and-drop-v2/releases/tag/v3.0.0"}]},"source":{"advisory":"GHSA-qv6c-367r-3w6q","discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2022-11-28 21:15:00","lastModifiedDate":"2022-12-01 23:07:00","problem_types":["CWE-79"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE","baseScore":6.1,"baseSeverity":"MEDIUM"},"exploitabilityScore":2.8,"impactScore":2.7}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:openedx:xblock-drag-and-drop-v2:*:*:*:*:*:*:*:*","versionEndExcluding":"3.0.0","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}