{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2020-8923","id":"CVE-2020-8923","title":"XSS in Dart","description":"An improper HTML sanitization in Dart versions up to and including 2.7.1 and dev versions 2.8.0-dev.16.0, allows an attacker leveraging DOM Clobbering techniques to skip the sanitization and inject custom html/javascript (XSS). Mitigation: update your Dart SDK to 2.7.2, and 2.8.0-dev.17.0 for the dev version. If you cannot update, we recommend you review the way you use the affected APIs, and pay ","descriptionLong":"An improper HTML sanitization in Dart versions up to and including 2.7.1 and dev versions 2.8.0-dev.16.0, allows an attacker leveraging DOM Clobbering techniques to skip the sanitization and inject custom html/javascript (XSS). Mitigation: update your Dart SDK to 2.7.2, and 2.8.0-dev.17.0 for the dev version. If you cannot update, we recommend you review the way you use the affected APIs, and pay special attention to cases where user-provided data is used to populate DOM nodes. Consider using Element.innerText or Node.text to populate DOM elements.","published":"2020-03-26T11:31:55.000Z","updated":"2026-10-20T10:54:25.803720392Z","reserved":"2020-02-12T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"Google","metric":{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","rating":"medium","source":"Google"},"metrics":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","rating":"medium","source":"Google"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","rating":"medium","source":"google.com"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"OSV"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","rating":"medium","source":"NVD"}],"rating":"medium","products":["Google Dart SDK"],"affectedProducts":[{"vendor":"Google","product":"Dart SDK","defaultStatus":null,"versions":[{"lessThanOrEqual":"2.7.1","status":"affected","version":"stable","versionType":"custom"},{"lessThanOrEqual":"2.8.0-dev.16.0","status":"affected","version":"dev","versionType":"custom"}],"platforms":[]}],"packages":[],"cwes":["CWE-79"],"aliases":["GHSA-hfq3-v9pv-p627"],"references":[{"url":"https://github.com/dart-lang/sdk/security/advisories/GHSA-hfq3-v9pv-p627","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00324,"epssPercentile":0.25903,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2020-8923","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-8923","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2020-8923","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2020-8923","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}