CVE-2021-22540: vulnerability in Google LLC Dart SDK
XSS in Dart SDK
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
No sign of exploitation. No public exploitation artifact known so far.
The Dart SDK before version 2.12.3 has a flaw that allows attackers to inject malicious scripts through DOM clobbering using template tags. This means untrusted content could execute unwanted code in users' browsers.
A validation bypass in dart:html's DOM node creation fails to properly sanitize template tags, allowing DOM clobbering-based XSS attacks. An attacker can craft malicious input containing template elements to inject arbitrary JavaScript; exploitation requires the application to process untrusted input through the vulnerable HTML sanitization logic.
In the same product, most dangerous first.