Read the docs
TI-2020-16119 Aliases CVE-2020-26298GHSA-q3wr-qw3g-3p4h

Injection in Redcarpet

Priority LOW 33CWE-74Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
Required
Attack complexity
Low
Impact type
Cross-site scripting
Confidentiality · integrity · availability
None · High · None
Fix status
Partial Red Hat: 1 without a fix

Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-79.

Summary

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.

Why it matters now

EPSS 0.01589 75th percentileScored 2026-11-07
Fix Partial redcarpet (vmg): 3.5.1redcarpet (RubyGems): 3.5.1Red Hat: 1 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
vmgredcarpetbefore 3.5.13.5.1Patch availableCNA
—redcarpet (RubyGems)before 3.5.13.5.1Patch availableGHSA-q3wr-qw3g-3p4h
  • redcarpet Vendorvmg Affected before 3.5.1 Fixed in 3.5.1 Patch available CNA
  • redcarpet (RubyGems) Vendor— Affected before 3.5.1 Fixed in 3.5.1 Patch available GHSA-q3wr-qw3g-3p4h

CPE configurations NVD · 3

CPEVersionsRoleVendor
cpe:2.3:a:redcarpet_project:redcarpet:*:*:*:*:*:ruby:*:*before 3.5.1VulnerableRedcarpet Project
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*9.0VulnerableDebian
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*10.0VulnerableDebian
  • cpe:2.3:a:redcarpet_project:redcarpet:*:*:*:*:*:ruby:*:* Versions before 3.5.1 Vulnerable ·Redcarpet Project
  • cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* Versions 9.0 Vulnerable ·Debian
  • cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* Versions 10.0 Vulnerable ·Debian

Remediation

  • Fix · CNA redcarpet (vmg) Fixed in 3.5.1
  • Fix · GHSA-q3wr-qw3g-3p4h redcarpet (RubyGems) Fixed in 3.5.1 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat 3scale API Management Platform 2AffectedNo fix yet

Timeline

  1. 2026-10-02 Threatist record created from CVE-2020-26298
  2. 2026-10-03 Alias added: GHSA-q3wr-qw3g-3p4h

References

Sources