← Back to CVEs
CVE-2020-26298
MEDIUM6.8
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.
CVE Details
CVSS v3.1 Score6.8
SeverityMEDIUM
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N
Attack VectorNETWORK
ComplexityLOW
Privileges RequiredLOW
User InteractionREQUIRED
Published1/11/2021
Last Modified11/21/2024
Sourcenvd
Honeypot Sightings0
Affected Products
debian:debian_linuxredcarpet_project:redcarpet
Weaknesses (CWE)
CWE-74CWE-79
References
https://github.com/advisories/GHSA-q3wr-qw3g-3p4h(security-advisories@github.com)
https://github.com/vmg/redcarpet/blob/master/CHANGELOG.md#version-351-security(security-advisories@github.com)
https://github.com/vmg/redcarpet/commit/a699c82292b17c8e6a62e1914d5eccc252272793(security-advisories@github.com)
https://lists.debian.org/debian-lts-announce/2021/01/msg00014.html(security-advisories@github.com)
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BFMYDIONVWATY7EB6EARDVXT47AYCRNM/(security-advisories@github.com)
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FNO4ZZUPGAEUXKQL4G2HRIH7CUZKPCT6/(security-advisories@github.com)
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PXNNWHHAPREDM3XJDACYRTK7DBMUONBI/(security-advisories@github.com)
https://rubygems.org/gems/redcarpet(security-advisories@github.com)
https://www.debian.org/security/2021/dsa-4831(security-advisories@github.com)
https://github.com/advisories/GHSA-q3wr-qw3g-3p4h(af854a3a-2127-422b-91ae-364da2661108)
https://github.com/vmg/redcarpet/blob/master/CHANGELOG.md#version-351-security(af854a3a-2127-422b-91ae-364da2661108)
https://github.com/vmg/redcarpet/commit/a699c82292b17c8e6a62e1914d5eccc252272793(af854a3a-2127-422b-91ae-364da2661108)
https://lists.debian.org/debian-lts-announce/2021/01/msg00014.html(af854a3a-2127-422b-91ae-364da2661108)
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BFMYDIONVWATY7EB6EARDVXT47AYCRNM/(af854a3a-2127-422b-91ae-364da2661108)
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FNO4ZZUPGAEUXKQL4G2HRIH7CUZKPCT6/(af854a3a-2127-422b-91ae-364da2661108)
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PXNNWHHAPREDM3XJDACYRTK7DBMUONBI/(af854a3a-2127-422b-91ae-364da2661108)
https://rubygems.org/gems/redcarpet(af854a3a-2127-422b-91ae-364da2661108)
https://www.debian.org/security/2021/dsa-4831(af854a3a-2127-422b-91ae-364da2661108)
IOC Correlations
No correlations recorded
This product uses data from the NVD API but is not endorsed or certified by the NVD.