CVE-2021-22540

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

Configuration 1 (hide)

cpe:2.3:a:dart:dart_software_development_kit:*:*:*:*:*:*:*:*

History

21 Nov 2024, 05:50

Type Values Removed Values Added
References () https://github.com/dart-lang/sdk/commit/ce5a1c2392debce967415d4c09359ff2555e3588 - Patch, Third Party Advisory () https://github.com/dart-lang/sdk/commit/ce5a1c2392debce967415d4c09359ff2555e3588 - Patch, Third Party Advisory
References () https://github.com/dart-lang/sdk/security/advisories/GHSA-3rfv-4jvg-9522 - Broken Link () https://github.com/dart-lang/sdk/security/advisories/GHSA-3rfv-4jvg-9522 - Broken Link

Information

Published : 2021-04-22 15:15

Updated : 2024-11-21 05:50


NVD link : CVE-2021-22540

Mitre link : CVE-2021-22540

CVE.ORG link : CVE-2021-22540


JSON object : View

Products Affected

dart

  • dart_software_development_kit
CWE
CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')