{"id":"CVE-2020-8923","published":"2020-03-26T11:31:55Z","modified":"2024-08-04T10:12:10Z","title":"XSS in Dart","vendor":"Google","product":"Dart SDK","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00324,"percentile":0.25378,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/dart-lang/sdk/security/advisories/GHSA-hfq3-v9pv-p627","tags":["x_refsource_CONFIRM"]}],"priority":{"score":8.9,"factors":[{"name":"EPSS percentile","points":5.08},{"name":"CVSS severity","points":3.78}]},"vendorSlug":"google","affectedVersions":[{"vendor":"Google","product":"Dart SDK","versions":[">= stable, <= 2.7.1",">= dev, <= 2.8.0-dev.16.0"]}],"euvd":{"id":"EUVD-2020-29756","exploited":false,"provenance":"source"}}