XSS in Redcarpet Project
CVE-2020-26298
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.8 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N.
EPSS exploit prediction
EPSS: 0.016 (74.4th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 74th percentile — 74.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.016 · newest: 0.016 · change: 0.000
Affected products
- Redcarpet Project
- Vmg Redcarpet — versions < 3.5.1
- Debian Linux — versions 9.0, 10.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/advisories/GHSA-q3wr-qw3g-3p4h (Third Party Advisory)
- github.com/vmg/redcarpet/commit/a699c82292b17c8e6a62e1914d5eccc252272793 (Patch, Third Party Advisory)
- rubygems.org/gems/redcarpet (Product, Third Party Advisory)
- github.com/vmg/redcarpet/blob/master/CHANGELOG.md (Third Party Advisory, Release Notes)
- lists.debian.org/debian-lts-announce/2021/01/msg00014.html (mailing-list, Mailing List, Third Party Advisory)
- www.debian.org/security/2021/dsa-4831 (vendor-advisory, Third Party Advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
Frequently asked questions
- What is CVE-2020-26298?
- CVE-2020-26298 is a medium-severity vulnerability in Redcarpet Project, classified under Improper Neutralization of Special Elements in Output Used by a Downstream Component (Injection). CVSS score: 6.8/10. Published 2021-01-11.
- How severe is CVE-2020-26298?
- Medium severity. CVSS v3 base score is 6.8 out of 10.
- Is CVE-2020-26298 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.