Skip to main content
← All vulnerabilities
CVE-2021-22540

XSS in Dart SDK

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.12.3
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Google LLC Dart SDK

    From stable · fixed in 2.12.3

References 2

GitHub · dart-lang/sdk