CVE-2020-8923
published medium CVSS 3.1 · 5.4XSS in Dart
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| — | Dart SDKstable through 2.7.1 · dev through 2.8.0-dev.16.0 | Affected | Not stated |
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 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.4 / 10
- Severity
- medium
- Provider
- Google · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Dart SDK | stable through 2.7.1 (affected · custom)dev through 2.8.0-dev.16.0 (affected · custom) | Google · cna |
Weaknesses
1- CWE-79 CWE-79 Cross-site Scripting (XSS)
References
1Provider assertions
2Google · cna
XSS in Dart
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- dea77048b4b0fcb0035154c0b98cec9c5cd2bec1c1dca9d919e8a47e909e7792
- Ingested
- 23 Sep 2026, 07:51:37 UTC
- Source record
- Official CVE record