CVE-2020-8923: dart dart_software_development_kit Cross-site Scripting
Vulnerability summary
CVE-2020-8923 is a medium (CVSS 6.1) Cross-site Scripting vulnerability in dart dart_software_development_kit. EPSS estimates a 0.32% chance of exploitation in the next 30 days, higher than 23.9% of scored vulnerabilities.
Timeline
- 26-03-2020PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 2 sources · 2 versions- CVE.orgCNA5.4MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:NDiffers
EPSS trend
Probability
0.32%
Chance of exploitation in the next 30 days
Percentile
24%
Versus all other CVEs
30-day change
0.00 pp
From 0.32% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Dart1 product
- dart_software_development_kit< 2.7.2 | 2.8.0:dev0.0 | 2.8.0:dev1.0 | 2.8.0:dev10.0 | 2.8.0:dev11.0 | 2.8.0:dev12.0 | 2.8.0:dev13.0 | 2.8.0:dev14.0 | 2.8.0:dev15.0 | 2.8.0:dev16.0 | 2.8.0:dev2.0 | 2.8.0:dev3.0 | 2.8.0:dev4.0 | 2.8.0:dev5.0 | 2.8.0:dev6.0 | 2.8.0:dev7.0 | 2.8.0:dev8.0 | 2.8.0:dev9.0
Google1 product
- dart sdk≥ stable, ≤ 2.7.1 | ≥ dev, ≤ 2.8.0-dev.16.0
2 vendors · 2 products
References
1 links- github.com/dart-lang/sdk/security/advisories/GHSA-hfq3-v9pv-p627X Refsource CONFIRMThird Party Advisory