Lucene search

K
cve[email protected]CVE-2021-22540
HistoryApr 22, 2021 - 3:15 p.m.

CVE-2021-22540

2021-04-2215:15:07
CWE-79
web.nvd.nist.gov
17
cve
2021
22540
validation logic
dart sdk
xss attack
dom clobbering
nvd

4.3 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:M/Au:N/C:N/I:P/A:N

6.1 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

0.001 Low

EPSS

Percentile

32.7%

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 configurations

Vulners
NVD
Node
googleandroid_sdkRange2.12.3
VendorProductVersionCPE
googleandroid_sdk*cpe:2.3:a:google:android_sdk:*:*:*:*:*:*:*:*

CNA Affected

[
  {
    "product": "Dart SDK",
    "vendor": "Google LLC",
    "versions": [
      {
        "lessThan": "2.12.3",
        "status": "affected",
        "version": "stable",
        "versionType": "custom"
      }
    ]
  }
]

4.3 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:M/Au:N/C:N/I:P/A:N

6.1 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

0.001 Low

EPSS

Percentile

32.7%

Related for CVE-2021-22540