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.
References
Link | Resource |
---|---|
https://github.com/dart-lang/sdk/security/advisories/GHSA-hfq3-v9pv-p627 | Third Party Advisory |
https://github.com/dart-lang/sdk/security/advisories/GHSA-hfq3-v9pv-p627 | Third Party Advisory |
Configurations
Configuration 1 (hide)
|
History
21 Nov 2024, 05:39
Type | Values Removed | Values Added |
---|---|---|
CVSS |
v2 : v3 : |
v2 : 4.3
v3 : 5.4 |
References | () https://github.com/dart-lang/sdk/security/advisories/GHSA-hfq3-v9pv-p627 - Third Party Advisory |
Information
Published : 2020-03-26 12:15
Updated : 2024-11-21 05:39
NVD link : CVE-2020-8923
Mitre link : CVE-2020-8923
CVE.ORG link : CVE-2020-8923
JSON object : View
Products Affected
dart
- dart_software_development_kit
CWE
CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')