CVEvulnerability
CVE-2020-26298
5.4 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2021-01-11
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 6.8 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N
- CVSS 3.1 ([email protected])
- 5.4 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- CVSS 2.0 ([email protected])
- 3.5 LOW — AV:N/AC:M/Au:S/C:N/I:P/A:N
- Weaknesses
- CWE-74, CWE-79
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.
Affected configurations
• redcarpet project redcarpet (< 3.5.1)
• debian debian linux 9.0
• debian debian linux 10.0
Related
References
- https://github.com/advisories/GHSA-q3wr-qw3g-3p4h Third Party Advisory
- https://github.com/vmg/redcarpet/blob/master/CHANGELOG.md#version-351-security Release Notes, Third Party Advisory
- https://github.com/vmg/redcarpet/commit/a699c82292b17c8e6a62e1914d5eccc252272793 Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/01/msg00014.html Mailing List, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BFMYDIONVWATY7EB6EARDVXT47AYCRNM/ lists.fedoraproject.org
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FNO4ZZUPGAEUXKQL4G2HRIH7CUZKPCT6/ lists.fedoraproject.org
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PXNNWHHAPREDM3XJDACYRTK7DBMUONBI/ lists.fedoraproject.org
- https://rubygems.org/gems/redcarpet Product, Third Party Advisory
- https://www.debian.org/security/2021/dsa-4831 Third Party Advisory
- https://github.com/advisories/GHSA-q3wr-qw3g-3p4h Third Party Advisory
- https://github.com/vmg/redcarpet/blob/master/CHANGELOG.md#version-351-security Release Notes, Third Party Advisory
- https://github.com/vmg/redcarpet/commit/a699c82292b17c8e6a62e1914d5eccc252272793 Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/01/msg00014.html Mailing List, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BFMYDIONVWATY7EB6EARDVXT47AYCRNM/ lists.fedoraproject.org
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FNO4ZZUPGAEUXKQL4G2HRIH7CUZKPCT6/ lists.fedoraproject.org
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PXNNWHHAPREDM3XJDACYRTK7DBMUONBI/ lists.fedoraproject.org
- https://rubygems.org/gems/redcarpet Product, Third Party Advisory
- https://www.debian.org/security/2021/dsa-4831 Third Party Advisory