PT-2021-15133

CVE-2021-22540

·

Published

2021-04-22

·

Updated

2021-04-26

Description by

CVSS 3.1
6.1
Medium
MetricsAV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions Dart SDK versions prior to 2.12.3
Description The issue is related to bad validation logic in the Dart SDK, which allows an attacker to perform an XSS attack via DOM clobbering. Specifically, the validation logic in dart:html for creating DOM nodes from text did not properly sanitize template tags.
Recommendations For Dart SDK versions prior to 2.12.3, update to version 2.12.3 or later to resolve the issue. As a temporary workaround, consider restricting the use of dart:html for creating DOM nodes from text until a patch is available.
Exploitability
Fix
Impacts
Vendors
Affected products
Related identifiers
GHSA-3RFV-4JVG-9522
Found an issue in the description? Have something to add? Feel free to write us 👾