XSS in Dart Software Development Kit
CVE-2020-8923
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N.
EPSS exploit prediction
EPSS: 0.003 (23.0th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 23rd percentile — 23.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.003 · change: 0.000
Affected products
- Dart Software Development Kit — versions 2.8.0
- Google Dart Sdk — versions stable, dev
Weakness classification (CWE)
References
- github.com/dart-lang/sdk/security/advisories/GHSA-hfq3-v9pv-p627 (Third Party Advisory)
Frequently asked questions
- What is CVE-2020-8923?
- CVE-2020-8923 is a medium-severity vulnerability in Dart Software Development Kit, classified under Cross-site Scripting. CVSS score: 5.4/10. Published 2020-03-26.
- How severe is CVE-2020-8923?
- Medium severity. CVSS v3 base score is 5.4 out of 10.