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.
Published: 2021-01-11
Score: 6.8 Medium
EPSS: 1.1% Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-2526-1 ruby-redcarpet security update
Debian DSA Debian DSA DSA-4831-1 ruby-redcarpet security update
EUVD EUVD EUVD-2021-0511 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.
Github GHSA Github GHSA GHSA-q3wr-qw3g-3p4h Injection/XSS in Redcarpet
History

No history.

Subscriptions

Debian Debian Linux
Redcarpet Project Redcarpet
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2025-02-13T16:27:42.195Z

Reserved: 2020-10-01T00:00:00.000Z

Link: CVE-2020-26298

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2021-01-11T19:15:13.133

Modified: 2024-11-21T05:19:47.920

Link: CVE-2020-26298

cve-icon Redhat

Severity : Moderate

Publid Date: 2021-01-11T00:00:00Z

Links: CVE-2020-26298 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses