{ "CVE_data_meta": { "ASSIGNER": "security-advisories@github.com", "ID": "CVE-2020-26298", "STATE": "PUBLIC", "TITLE": "Injection in Redcarpet" }, "affects": { "vendor": { "vendor_data": [ { "product": { "product_data": [ { "product_name": "redcarpet", "version": { "version_data": [ { "version_value": "< 3.5.1" } ] } } ] }, "vendor_name": "vmg" } ] } }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "eng", "value": "Redcarpet is a Ruby library for Markdown processing. In Redcarpet before version 3.5.1, there is an injection vulnerability which can enable a cross-site scripting attack. In affected versions no HTML escaping was being performed when processing quotes. This applies even when the `:escape_html` option was being used. This is fixed in version 3.5.1 by the referenced commit." } ] }, "generator": { "engine": "Vulnogram 0.0.9" }, "impact": { "cvss": { "attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "NONE", "baseScore": 6.8, "baseSeverity": "MEDIUM", "confidentialityImpact": "NONE", "integrityImpact": "HIGH", "privilegesRequired": "LOW", "scope": "CHANGED", "userInteraction": "REQUIRED", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N", "version": "3.1" } }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')" } ] }, { "description": [ { "lang": "eng", "value": "CWE-79 Cross-site Scripting (XSS)" } ] } ] }, "references": { "reference_data": [ { "name": "https://github.com/advisories/GHSA-q3wr-qw3g-3p4h", "refsource": "CONFIRM", "url": "https://github.com/advisories/GHSA-q3wr-qw3g-3p4h" }, { "name": "https://github.com/vmg/redcarpet/commit/a699c82292b17c8e6a62e1914d5eccc252272793", "refsource": "MISC", "url": "https://github.com/vmg/redcarpet/commit/a699c82292b17c8e6a62e1914d5eccc252272793" }, { "name": "https://rubygems.org/gems/redcarpet", "refsource": "MISC", "url": "https://rubygems.org/gems/redcarpet" }, { "name": "https://github.com/vmg/redcarpet/blob/master/CHANGELOG.md#version-351-security", "refsource": "MISC", "url": "https://github.com/vmg/redcarpet/blob/master/CHANGELOG.md#version-351-security" }, { "refsource": "MLIST", "name": "[debian-lts-announce] 20210115 [SECURITY] [DLA 2526-1] ruby-redcarpet security update", "url": "https://lists.debian.org/debian-lts-announce/2021/01/msg00014.html" }, { "refsource": "DEBIAN", "name": "DSA-4831", "url": "https://www.debian.org/security/2021/dsa-4831" } ] }, "source": { "advisory": "GHSA-q3wr-qw3g-3p4h", "discovery": "UNKNOWN" } }