CVE Database
/

CVE-2021-22540

Back to search

CVE-2021-22540

Published: Apr 22, 2021

Modified: Aug 3, 2024

PUBLISHED

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.

VendorProductVersions

Google LLC

Dart SDK

affected
stable - < 2.12.3

Weaknesses (CWE)

Security Training

Train your team to recognize and prevent security threats with our comprehensive security awareness program.

Start Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now