Vulnerabilities · 2021 · Dart
CVE-2021-22540
Dart Software Development Kit vulnerability
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
Dart Software Development Kit. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Dart Software Development Kit runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
More vulnerabilities in Dart products
CVE-2022-3095CVE-2022-0451CVE-2021-22568CVE-2021-22567CVE-2020-35669CVE-2020-8923CVE-2014-125098CVE-2012-5389All 13
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.