CVE-2021-22540 is a medium-severity cross-site scripting (XSS) vulnerability affecting Dart SDK versions prior to 2.12.3. It stems from improper sanitization of template tags within dart:html's DOM node creation logic, allowing attackers to inject malicious scripts via DOM clobbering. The vulnerability has a CVSS score of 6.1, indicating a network-based attack with low complexity, requiring user interaction, and resulting in low impact to confidentiality and integrity. There is no evidence of active exploitation, public exploit code (Metasploit, Nuclei, ExploitDB), or significant community discussion surrounding this CVE.
| Vendor | Product | Version(s) | CPE |
|---|---|---|---|
< 2.12.3CPE matchmatch criteria | cpe:2.3:a:dart:dart_software_development_kit:*:*:*:*:*:*:*:* |
CVSS version used by this source: 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.1 Bluesky, 0.0 Mastodon, and 0.1 GitHub mentions.
No media coverage found for this CVE.
The average CVE in this peer group has 0.1 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.