CVE-2018-3741 Vulnerability Details

  /     /     /  

CVE-2018-3741 Metadata Quick Info

CVE Published: 30/03/2018 | CVE Updated: 05/08/2024 | CVE Year: 2018
Source: hackerone | Vendor: Rails | Product: rails-html-sanitizer
Status : PUBLISHED

CVE-2018-3741 Description

There is a possible XSS vulnerability in all rails-html-sanitizer gem versions below 1.0.4 for Ruby. The gem allows non-whitelisted attributes to be present in sanitized output when input with specially-crafted HTML fragments, and these attributes can lead to an XSS attack on target applications. This issue is similar to CVE-2018-8048 in Loofah. All users running an affected release should either upgrade or use one of the workarounds immediately.

Metrics

CVSS Version: 3.1 | Base Score: n/a
Vector: n/a

l➤ Exploitability Metrics:
    Attack Vector (AV)*
    Attack Complexity (AC)*
    Privileges Required (PR)*
    User Interaction (UI)*
    Scope (S)*

l➤ Impact Metrics:
    Confidentiality Impact (C)*
    Integrity Impact (I)*
    Availability Impact (A)*

Weakness Enumeration (CWE)

CWE-ID: CWE-79
CWE Name: Improper Neutralization of Input During Web Page Generation ( Cross-site Scripting ) (CWE-79)
Source: Rails

Common Attack Pattern Enumeration and Classification (CAPEC)

CAPEC-ID:
CAPEC Description:


Source: NVD (National Vulnerability Database).