Vulnerability CVE-2021-22540


Published: 2021-04-22

Description:
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.

Type:

CWE-79

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

CVSS2 => (AV:N/AC:M/Au:N/C:N/I:P/A:N)

CVSS Base Score
Impact Subscore
Exploitability Subscore
4.3/10
2.9/10
8.6/10
Exploit range
Attack complexity
Authentication
Remote
Medium
No required
Confidentiality impact
Integrity impact
Availability impact
None
Partial
None
Affected software
DART -> Dart software development kit 

 References:
https://github.com/dart-lang/sdk/security/advisories/GHSA-3rfv-4jvg-9522
https://github.com/dart-lang/sdk/commit/ce5a1c2392debce967415d4c09359ff2555e3588

Copyright 2024, cxsecurity.com

 

Back to Top