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.
Advisories
Source ID Title
EUVD EUVD EUVD-2021-9681 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.
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: Google

Published:

Updated: 2024-08-03T18:44:14.025Z

Reserved: 2021-01-05T00:00:00

Link: CVE-2021-22540

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2021-04-22T15:15:07.930

Modified: 2024-11-21T05:50:18.160

Link: CVE-2021-22540

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.