National Vulnerability Database

National Vulnerability Database

National Vulnerability
Database

CVE-2018-3740 Detail

Current Description

A specially crafted HTML fragment can cause Sanitize gem for Ruby to allow non-whitelisted attributes to be used on a whitelisted HTML element.

Source:  MITRE
View Analysis Description

Severity



CVSS 3.x Severity and Metrics:

NIST CVSS score
NIST: NVD
Base Score: 7.5 HIGH
Vector:  CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

Hyperlink Resource
https://about.gitlab.com/2018/06/25/security-release-gitlab-11-dot-0-dot-1-released/
https://github.com/rgrove/sanitize/commit/01629a162e448a83d901456d0ba8b65f3b03d46e Patch Third Party Advisory
https://github.com/rgrove/sanitize/issues/176 Issue Tracking Third Party Advisory
https://www.debian.org/security/2018/dsa-4358

Weakness Enumeration

CWE-ID CWE Name Source
CWE-20 Improper Input Validation NIST  
CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') HackerOne  

Known Affected Software Configurations Switch to CPE 2.2

Configuration 1 ( hide )
 cpe:2.3:a:sanitize_project:sanitize:*:*:*:*:*:ruby:*:*
     Show Matching CPE(s)
Up to (including)
4.6.0


Change History

4 change records found - show changes

Quick Info

CVE Dictionary Entry:
CVE-2018-3740
NVD Published Date:
03/30/2018
NVD Last Modified:
12/28/2018