{"cve":"CVE-2020-26298","nvd":{"published":"2021-01-11T19:15:13.133","modified":"2026-06-17T03:08:01.600","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4},"cwes":["CWE-74","CWE-79"],"references":["https://github.com/advisories/GHSA-q3wr-qw3g-3p4h","https://github.com/vmg/redcarpet/blob/master/CHANGELOG.md#version-351-security","https://github.com/vmg/redcarpet/commit/a699c82292b17c8e6a62e1914d5eccc252272793","https://lists.debian.org/debian-lts-announce/2021/01/msg00014.html","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BFMYDIONVWATY7EB6EARDVXT47AYCRNM/"],"products":["debian:debian_linux","redcarpet_project:redcarpet"],"source":"nvd","synced_at":"2026-10-19T21:12:09.559580076+00:00"},"epss":{"cve":"CVE-2020-26298","score":0.01589,"percentile":0.75641,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-q3wr-qw3g-3p4h","url":"https://osv.dev/vulnerability/GHSA-q3wr-qw3g-3p4h","summary":"Injection/XSS in Redcarpet","modified":"2026-07-08T05:59:45.900047476Z","packages":[{"ecosystem":"RubyGems","name":"redcarpet","purl":"pkg:gem/redcarpet","ranges":["<3.5.1"],"fixed":["3.5.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}