{"id":"CVE-2021-22540","published":"2021-04-22T14:15:17Z","modified":"2024-08-03T18:44:14Z","title":"XSS in Dart SDK","vendor":"Google","product":"Dart SDK","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00681,"percentile":0.53384,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/dart-lang/sdk/security/advisories/GHSA-3rfv-4jvg-9522","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/dart-lang/sdk/commit/ce5a1c2392debce967415d4c09359ff2555e3588","tags":["x_refsource_CONFIRM"]}],"priority":{"score":10.7,"factors":[{"name":"EPSS percentile","points":10.68}]},"vendorSlug":"google","affectedVersions":[{"vendor":"Google LLC","product":"Dart SDK","versions":[">= stable, < 2.12.3"]}],"euvd":{"id":"EUVD-2021-9681","exploited":false,"provenance":"source"}}