Skip to content
OpenAdvisories
Unscored CVE-2021-22540 EUVD-2021-9681GHSA-36mh-f84c-9fqq

XSS in Dart SDK

Published Apr 22, 2021 · Updated Aug 3, 2024 · Assigned by Google

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

VendorProductAffectedFixed
Google Dart SDK stable – < 2.12.3 2.12.3

References