CVE-2020-26298

Injection in Redcarpet

MEDIUM
5.4
CVSS Score
Published: January 11, 2021 at 12:00 AM UTC
Updated: June 17, 2026 at 03:08 AM UTC
3 products affected across 3 vendorsDebian LinuxRedcarpetRedcarpet

Using redcarpet by vmg?

Get instant alerts when new vulnerabilities affect redcarpet - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.4
Exploit prediction
EPSS 2%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 3.5.1
Affected range stops below 3.5.1, so it looks safe — our inference, not a vendor statement
60%
v < 3.5.1
Affected range stops below 3.5.1, so it looks safe — our inference, not a vendor statement

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
LOW
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-74CWE-79

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card