CONTENTUM.COMA specialist. A plan. A result.

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

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.