XSS Vulnerability via DOM Clobbering in Dart SDK (Versions prior to 2.12.3)

XSS Vulnerability via DOM Clobbering in Dart SDK (Versions prior to 2.12.3)

CVE-2021-22540 · MEDIUM Severity

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

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.

Learn more about our Web Application Penetration Testing UK.