CVE-2021-22540
N/A
N/A
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Google LLC | Dart SDK | stable < 2.12.3 | affected |
Weaknesses
- CWE-79: CWE-79: Improper Neutralization of Input During Web Page Generation
ADP Enrichment
CVE Program Container
Additional References
- https://github.com/dart-lang/sdk/security/advisories/GHSA-3rfv-4jvg-9522
- https://github.com/dart-lang/sdk/commit/ce5a1c2392debce967415d4c09359ff2555e3588
References
- https://github.com/dart-lang/sdk/security/advisories/GHSA-3rfv-4jvg-9522
- https://github.com/dart-lang/sdk/commit/ce5a1c2392debce967415d4c09359ff2555e3588
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.