{"id":"CVE-2020-8923","aliases":["CVE-2020-8923"],"related":[],"kind":"vulnerability","state":"published","title":"XSS in Dart","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2020-03-26T11:31:55.000Z","modified":"2026-06-17T03:27:11.160Z","severity":{"scorer":"Google","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},"severities":[{"scorer":"Google","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"custom","introduced":"stable","lastAffected":"2.7.1","status":"affected"},{"type":"custom","introduced":"dev","lastAffected":"2.8.0-dev.16.0","status":"affected"}],"vendor":"Google","product":"Dart SDK","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"2.7.2"},{"status":"affected","version":"2.8.0"},{"status":"affected","version":"2.8.0"},{"status":"affected","version":"2.8.0"},{"status":"affected","version":"2.8.0"},{"status":"affected","version":"2.8.0"},{"status":"affected","version":"2.8.0"},{"status":"affected","version":"2.8.0"},{"status":"affected","version":"2.8.0"},{"status":"affected","version":"2.8.0"},{"status":"affected","version":"2.8.0"},{"status":"affected","version":"2.8.0"},{"status":"affected","version":"2.8.0"},{"status":"affected","version":"2.8.0"},{"status":"affected","version":"2.8.0"},{"status":"affected","version":"2.8.0"},{"status":"affected","version":"2.8.0"},{"status":"affected","version":"2.8.0"}],"vendor":"dart","product":"dart_software_development_kit","cpe":"cpe:2.3:a:dart:dart_software_development_kit:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/dart-lang/sdk/security/advisories/GHSA-hfq3-v9pv-p627","tags":["third-party-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd"]}],"credits":["Vincenzo di Cicco"],"assigner":"Google","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-8923","url":"https://www.cve.org/CVERecord?id=CVE-2020-8923","licence":"CVE Terms of Use","modified":"2024-08-04T10:12:10.987Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-8923","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-8923","licence":"Public domain","modified":"2026-06-17T03:27:11.160Z"}],"updatedAt":"2026-11-25T22:57:51.685Z","epss":{"score":0.00324,"percentile":0.27492,"date":"2026-12-01T12:00:22.000Z"}}