{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2020-26298","published":"2021-01-11T19:15:13.133000Z","last_modified":"2026-06-17T03:08:01.600000Z","status":"Modified","cvss":{"version":"3.1","score":5.4,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-74","CWE-79"],"cpes":[{"criteria":"cpe:2.3:a:redcarpet_project:redcarpet:*:*:*:*:*:ruby:*:*","part":"a","vendor":"redcarpet_project","product":"redcarpet","version_end_excluding":"3.5.1"},{"criteria":"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*","part":"o","vendor":"debian","product":"debian_linux","version":"9.0"},{"criteria":"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*","part":"o","vendor":"debian","product":"debian_linux","version":"10.0"}],"cpes_truncated":false,"vendors":["redcarpet_project","debian"],"products":["redcarpet_project/redcarpet","debian/debian_linux"],"epss":{"score":0.01589,"percentile":0.76013,"date":"2026-11-28","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-q3wr-qw3g-3p4h","ecosystem":"RubyGems","name":"redcarpet","purl":"pkg:gem/redcarpet","ranges":[{"introduced":"0","fixed":"3.5.1"}],"versions":["1.0.0","1.0.1","1.1.0","1.1.1","1.10.0","1.10.1","1.11.0","1.11.1","1.11.2","1.11.3","1.11.4","1.12.0","1.12.1","1.12.2","1.13.0","1.13.1","1.13.2","1.14.0","1.14.1","1.14.2","1.15.0","1.15.1","1.15.2","1.16.0","1.17.0","1.17.1","1.17.2","1.2.0","1.2.1","1.2.2","1.3.0","1.3.1","1.3.2","1.3.3","1.5.0","1.5.1","1.5.2","1.5.3","1.6.0","1.7.0","1.7.1","1.8.0","1.8.1","1.8.2","1.9.0","2.0.0","2.0.0b","2.0.0b3","2.0.0b4","2.0.0b5","2.0.1","2.1.0","2.1.1","2.2.0","2.2.1","2.2.2","2.3.0","3.0.0","3.1.0","3.1.1","3.1.2","3.2.0","3.2.1","3.2.2","3.2.3","3.3.0","3.3.1","3.3.2","3.3.3","3.3.4","3.4.0","3.5.0"],"versions_truncated":false}],"severity":"medium","priority_score":33,"links":{"html_es":"/es/cve/CVE-2020-26298/","html_en":"/en/cve/CVE-2020-26298/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2020-26298","cve_org":"https://www.cve.org/CVERecord?id=CVE-2020-26298"},"untrusted":{"vendor_name":"Redcarpet Project","product_name":"Redcarpet","desc_en":"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":[{"untrusted_vendor":"vmg","untrusted_product":"redcarpet","versions":[]}],"references":[{"url":"https://github.com/advisories/GHSA-q3wr-qw3g-3p4h","tags":["Third Party Advisory"]},{"url":"https://github.com/vmg/redcarpet/blob/master/CHANGELOG.md#version-351-security","tags":["Release Notes","Third Party Advisory"]},{"url":"https://github.com/vmg/redcarpet/commit/a699c82292b17c8e6a62e1914d5eccc252272793","tags":["Patch","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/01/msg00014.html","tags":["Mailing List","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BFMYDIONVWATY7EB6EARDVXT47AYCRNM/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FNO4ZZUPGAEUXKQL4G2HRIH7CUZKPCT6/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PXNNWHHAPREDM3XJDACYRTK7DBMUONBI/","tags":[]},{"url":"https://rubygems.org/gems/redcarpet","tags":["Product","Third Party Advisory"]},{"url":"https://www.debian.org/security/2021/dsa-4831","tags":["Third Party Advisory"]}]}}