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/commit/ce5a1c2392debce967415d4c09359ff2555e3588 | Patch Third Party Advisory |
https://github.com/dart-lang/sdk/security/advisories/GHSA-3rfv-4jvg-9522 | Broken Link |
Configurations
History
No history.
Information
Published : 2021-04-22 15:15
Updated : 2024-02-04 21:47
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')