VULNERABILITY INTELLIGENCE
CVE-2021-22540
CVSS score6.1 MEDIUM
EPSS probability0.68%
CISA KEVNot currently listed
Published2021-04-22
Last modified2026-06-17
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.