Vulnerability

CVE-2021-22540

mediumCVSS 3.1 6.1Published 22 Apr 2021

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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

From the NVD's configuration data (CPE), vendor first.

  • Dart dart software development kit

Weakness type

References

  • github.com /dart-lang/sdk/commit/ce5a1c2392debce967415d4c09359ff2555e3…
  • github.com /dart-lang/sdk/security/advisories/GHSA-3rfv-4jvg-9522

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning