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 |
History
No history.
MITRE Information
Status: PUBLISHED
Assigner: Google
Published: 2021-04-22T14:15:17
Updated: 2021-04-22T14:15:17
Reserved: 2021-01-05T00:00:00
Link: CVE-2021-22540
JSON object: View
NVD Information
Status : Analyzed
Published: 2021-04-22T15:15:07.930
Modified: 2021-04-26T20:20:32.060
Link: CVE-2021-22540
JSON object: View
Redhat Information
No data.
CWE