CVE-2020-26298
on gem
on github
Published
Severity
CVSS v3:
5.4 MEDIUM
CVSS v2:
3.5 LOW
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.
References
- https://github.com/vmg/redcarpet/commit/a699c82292b17c8e6a62e1914d5eccc252272793
- https://rubygems.org/gems/redcarpet
- https://github.com/vmg/redcarpet/blob/master/CHANGELOG.md#version-351-security
- https://github.com/advisories/GHSA-q3wr-qw3g-3p4h
- https://lists.debian.org/debian-lts-announce/2021/01/msg00014.html
- https://www.debian.org/security/2021/dsa-4831
- https://lists.fedoraproject.org/archives/list/[email protected]/message/FNO4ZZUPGAEUXKQL4G2HRIH7CUZKPCT6/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/PXNNWHHAPREDM3XJDACYRTK7DBMUONBI/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/BFMYDIONVWATY7EB6EARDVXT47AYCRNM/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FNO4ZZUPGAEUXKQL4G2HRIH7CUZKPCT6/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BFMYDIONVWATY7EB6EARDVXT47AYCRNM/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PXNNWHHAPREDM3XJDACYRTK7DBMUONBI/
Configurations
CPE23 | Version Start | Version End | Exact Version |
---|---|---|---|
cpe:2.3:a:redcarpet_project:redcarpet:*:*:*:*:*:ruby:*:* | n/a | 3.5.1 | * |
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* | n/a | n/a | 9.0 |
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* | n/a | n/a | 10.0 |