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.

Project Subscriptions

Vendors Products
Debian Linux Subscribe
Redcarpet Project Subscribe
Redcarpet Subscribe
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
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

Projects

Sign in to view the affected projects.

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