CVE-2020-4054 is a cross-site scripting (XSS) vulnerability affecting the Sanitize RubyGem, versions 3.0.0 through 5.2.0. When using Sanitize's "relaxed" configuration or a custom configuration allowing specific elements like iframe, math, or svg, carefully crafted HTML input can bypass sanitization, leading to arbitrary HTML execution. This vulnerability has a CVSS score of 7.3 (High), indicating it can be exploited remotely with low attack complexity and no user interaction, potentially resulting in data compromise or integrity issues. There is no evidence of active exploitation, public exploit code, or significant community discussion surrounding this CVE. The issue was resolved in Sanitize version 5.2.1.
| Vendor | Product | Version(s) | CPE |
|---|---|---|---|
>= 3.0.0, < 5.2.1CPE matchmatch criteria | cpe:2.3:a:sanitize_project:sanitize:*:*:*:*:*:ruby:*:* |
CVSS version used by this source: 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
No social media mentions found for this CVE.
The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.1 Bluesky, 0.1 Mastodon, and 0.4 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.