{ "dataType": "CVE_RECORD", "dataVersion": "5.1", "cveMetadata": { "state": "PUBLISHED", "cveId": "CVE-2020-26298", "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa", "assignerShortName": "GitHub_M", "dateUpdated": "2025-02-13T16:27:42.195Z", "dateReserved": "2020-10-01T00:00:00.000Z", "datePublished": "2021-01-11T00:00:00.000Z" }, "containers": { "cna": { "title": "Injection in Redcarpet", "providerMetadata": { "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa", "shortName": "GitHub_M", "dateUpdated": "2023-05-09T02:06:17.173Z" }, "descriptions": [ { "lang": "en", "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." } ], "affected": [ { "vendor": "vmg", "product": "redcarpet", "versions": [ { "version": "< 3.5.1", "status": "affected" } ] } ], "references": [ { "url": "https://github.com/advisories/GHSA-q3wr-qw3g-3p4h" }, { "url": "https://github.com/vmg/redcarpet/commit/a699c82292b17c8e6a62e1914d5eccc252272793" }, { "url": "https://rubygems.org/gems/redcarpet" }, { "url": "https://github.com/vmg/redcarpet/blob/master/CHANGELOG.md#version-351-security" }, { "name": "[debian-lts-announce] 20210115 [SECURITY] [DLA 2526-1] ruby-redcarpet security update", "tags": [ "mailing-list" ], "url": "https://lists.debian.org/debian-lts-announce/2021/01/msg00014.html" }, { "name": "DSA-4831", "tags": [ "vendor-advisory" ], "url": "https://www.debian.org/security/2021/dsa-4831" }, { "name": "FEDORA-2023-597f13ffb9", "tags": [ "vendor-advisory" ], "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FNO4ZZUPGAEUXKQL4G2HRIH7CUZKPCT6/" }, { "name": "FEDORA-2023-8682a0e17d", "tags": [ "vendor-advisory" ], "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BFMYDIONVWATY7EB6EARDVXT47AYCRNM/" }, { "name": "FEDORA-2023-44daa9c1d4", "tags": [ "vendor-advisory" ], "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PXNNWHHAPREDM3XJDACYRTK7DBMUONBI/" } ], "metrics": [ { "cvssV3_1": { "version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "NONE", "integrityImpact": "HIGH", "availabilityImpact": "NONE", "baseScore": 6.8, "baseSeverity": "MEDIUM" } } ], "problemTypes": [ { "descriptions": [ { "type": "CWE", "lang": "en", "description": "CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')", "cweId": "CWE-74" } ] }, { "descriptions": [ { "type": "CWE", "lang": "en", "description": "CWE-79 Cross-site Scripting (XSS)", "cweId": "CWE-79" } ] } ], "x_generator": { "engine": "Vulnogram 0.0.9" }, "source": { "advisory": "GHSA-q3wr-qw3g-3p4h", "discovery": "UNKNOWN" } }, "adp": [ { "providerMetadata": { "orgId": "af854a3a-2127-422b-91ae-364da2661108", "shortName": "CVE", "dateUpdated": "2024-08-04T15:56:04.533Z" }, "title": "CVE Program Container", "references": [ { "url": "https://github.com/advisories/GHSA-q3wr-qw3g-3p4h", "tags": [ "x_transferred" ] }, { "url": "https://github.com/vmg/redcarpet/commit/a699c82292b17c8e6a62e1914d5eccc252272793", "tags": [ "x_transferred" ] }, { "url": "https://rubygems.org/gems/redcarpet", "tags": [ "x_transferred" ] }, { "url": "https://github.com/vmg/redcarpet/blob/master/CHANGELOG.md#version-351-security", "tags": [ "x_transferred" ] }, { "name": "[debian-lts-announce] 20210115 [SECURITY] [DLA 2526-1] ruby-redcarpet security update", "tags": [ "mailing-list", "x_transferred" ], "url": "https://lists.debian.org/debian-lts-announce/2021/01/msg00014.html" }, { "name": "DSA-4831", "tags": [ "vendor-advisory", "x_transferred" ], "url": "https://www.debian.org/security/2021/dsa-4831" }, { "name": "FEDORA-2023-597f13ffb9", "tags": [ "vendor-advisory", "x_transferred" ], "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FNO4ZZUPGAEUXKQL4G2HRIH7CUZKPCT6/" }, { "name": "FEDORA-2023-8682a0e17d", "tags": [ "vendor-advisory", "x_transferred" ], "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BFMYDIONVWATY7EB6EARDVXT47AYCRNM/" }, { "name": "FEDORA-2023-44daa9c1d4", "tags": [ "vendor-advisory", "x_transferred" ], "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PXNNWHHAPREDM3XJDACYRTK7DBMUONBI/" } ] } ] } }