Skip to content
Not rated

CVE-2021-22540 Bad validation logic in the Dart SDK versions prior to 2.12.3 allow an attacker to use an XSS attack via DOM clobbering

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.

Affected products and versions

Product Affected versions Fixed in
Dart SDK 2.12 earliest → < 2.12.3 2.12.3
The 4 CVEs of Dart SDK →
Track this CVE