// For flags

CVE-2020-8923

XSS in Dart

Severity Score

6.1
*CVSS v3.1

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

0
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

-
*SSVC
Descriptions

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.

Un saneamiento HTML inapropiado en Dart versiones hasta 2.7.1 y las versiones dev 2.8.0-dev.16.0, permite a un atacante aprovechar las técnicas DOM Clobbering para omitir el saneamiento e inyectar html/javascript personalizado (XSS). Mitigación: actualizar su Dart SDK a versión 2.7.2 y a versión 2.8.0-dev.17.0 para la versión de desarrollo. Si no puede actualizar, le recomendamos que revise la manera en que usa las API afectadas y preste especial atención a los casos en los que los datos provistos por el usuario son utilizados para completar los nodos DOM. Considere usar Element.innerText o Node.text para llenar los elementos DOM.

*Credits: Vincenzo di Cicco
CVSS Scores
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None
Attack Vector
Network
Attack Complexity
Medium
Authentication
None
Confidentiality
None
Integrity
Partial
Availability
None
* Common Vulnerability Scoring System
SSVC
  • Decision:-
Exploitation
-
Automatable
-
Tech. Impact
-
* Organization's Worst-case Scenario
Timeline
  • 2020-02-12 CVE Reserved
  • 2020-03-26 CVE Published
  • 2023-03-08 EPSS Updated
  • 2024-08-04 CVE Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
  • ---------- First Exploit
CWE
  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CAPEC
References (1)
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Dart
Search vendor "Dart"
Dart Software Development Kit
Search vendor "Dart" for product "Dart Software Development Kit"
< 2.7.2
Search vendor "Dart" for product "Dart Software Development Kit" and version " < 2.7.2"
-
Affected
Dart
Search vendor "Dart"
Dart Software Development Kit
Search vendor "Dart" for product "Dart Software Development Kit"
2.8.0
Search vendor "Dart" for product "Dart Software Development Kit" and version "2.8.0"
dev0.0
Affected
Dart
Search vendor "Dart"
Dart Software Development Kit
Search vendor "Dart" for product "Dart Software Development Kit"
2.8.0
Search vendor "Dart" for product "Dart Software Development Kit" and version "2.8.0"
dev1.0
Affected
Dart
Search vendor "Dart"
Dart Software Development Kit
Search vendor "Dart" for product "Dart Software Development Kit"
2.8.0
Search vendor "Dart" for product "Dart Software Development Kit" and version "2.8.0"
dev10.0
Affected
Dart
Search vendor "Dart"
Dart Software Development Kit
Search vendor "Dart" for product "Dart Software Development Kit"
2.8.0
Search vendor "Dart" for product "Dart Software Development Kit" and version "2.8.0"
dev11.0
Affected
Dart
Search vendor "Dart"
Dart Software Development Kit
Search vendor "Dart" for product "Dart Software Development Kit"
2.8.0
Search vendor "Dart" for product "Dart Software Development Kit" and version "2.8.0"
dev12.0
Affected
Dart
Search vendor "Dart"
Dart Software Development Kit
Search vendor "Dart" for product "Dart Software Development Kit"
2.8.0
Search vendor "Dart" for product "Dart Software Development Kit" and version "2.8.0"
dev13.0
Affected
Dart
Search vendor "Dart"
Dart Software Development Kit
Search vendor "Dart" for product "Dart Software Development Kit"
2.8.0
Search vendor "Dart" for product "Dart Software Development Kit" and version "2.8.0"
dev14.0
Affected
Dart
Search vendor "Dart"
Dart Software Development Kit
Search vendor "Dart" for product "Dart Software Development Kit"
2.8.0
Search vendor "Dart" for product "Dart Software Development Kit" and version "2.8.0"
dev15.0
Affected
Dart
Search vendor "Dart"
Dart Software Development Kit
Search vendor "Dart" for product "Dart Software Development Kit"
2.8.0
Search vendor "Dart" for product "Dart Software Development Kit" and version "2.8.0"
dev16.0
Affected
Dart
Search vendor "Dart"
Dart Software Development Kit
Search vendor "Dart" for product "Dart Software Development Kit"
2.8.0
Search vendor "Dart" for product "Dart Software Development Kit" and version "2.8.0"
dev2.0
Affected
Dart
Search vendor "Dart"
Dart Software Development Kit
Search vendor "Dart" for product "Dart Software Development Kit"
2.8.0
Search vendor "Dart" for product "Dart Software Development Kit" and version "2.8.0"
dev3.0
Affected
Dart
Search vendor "Dart"
Dart Software Development Kit
Search vendor "Dart" for product "Dart Software Development Kit"
2.8.0
Search vendor "Dart" for product "Dart Software Development Kit" and version "2.8.0"
dev4.0
Affected
Dart
Search vendor "Dart"
Dart Software Development Kit
Search vendor "Dart" for product "Dart Software Development Kit"
2.8.0
Search vendor "Dart" for product "Dart Software Development Kit" and version "2.8.0"
dev5.0
Affected
Dart
Search vendor "Dart"
Dart Software Development Kit
Search vendor "Dart" for product "Dart Software Development Kit"
2.8.0
Search vendor "Dart" for product "Dart Software Development Kit" and version "2.8.0"
dev6.0
Affected
Dart
Search vendor "Dart"
Dart Software Development Kit
Search vendor "Dart" for product "Dart Software Development Kit"
2.8.0
Search vendor "Dart" for product "Dart Software Development Kit" and version "2.8.0"
dev7.0
Affected
Dart
Search vendor "Dart"
Dart Software Development Kit
Search vendor "Dart" for product "Dart Software Development Kit"
2.8.0
Search vendor "Dart" for product "Dart Software Development Kit" and version "2.8.0"
dev8.0
Affected
Dart
Search vendor "Dart"
Dart Software Development Kit
Search vendor "Dart" for product "Dart Software Development Kit"
2.8.0
Search vendor "Dart" for product "Dart Software Development Kit" and version "2.8.0"
dev9.0
Affected