CVE-2021-22540

Severity CVSS v4.0:
Pending analysis
Type:
CWE-79 Cross-Site Scripting (XSS)
Publication date:
22/04/2021
Last modified:
26/04/2021

Description

Bad validation logic in the Dart SDK versions prior to 2.12.3 allow an attacker to use an XSS attack via DOM clobbering. The validation logic in dart:html for creating DOM nodes from text did not sanitize properly when it came across template tags.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:dart:dart_software_development_kit:*:*:*:*:*:*:*:* 2.12.3 (excluding)