CVE-2021-22540

XSS in Dart SDK

Published Apr 22, 2021 CVSS 3.1 · 6.1 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

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.
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
Google
Published
Updated
Aug 3, 2024, 6:44 PM
Reserved
Jan 5, 2021, 12:00 AM
Status
Modified
Published
Apr 22, 2021, 3:15 PM
Modified
Jun 17, 2026, 3:37 AM