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.
References
Link | Resource |
---|---|
https://github.com/dart-lang/sdk/security/advisories/GHSA-3rfv-4jvg-9522 | Broken Link |
https://github.com/dart-lang/sdk/commit/ce5a1c2392debce967415d4c09359ff2555e3588 | Patch Third Party Advisory |
Configurations
Information
Published : 2021-04-22 08:15
Updated : 2021-04-26 13:20
NVD link : CVE-2021-22540
Mitre link : CVE-2021-22540
JSON object : View
CWE
CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Products Affected
dart
- dart_software_development_kit