cve.bz

CVE-2020-26298 Injection

5.4 mediumEPSS 1.6%Fix available

Medium (5.4). EPSS 1.6% estimated probability of exploitation activity in the next 30 days. Fixed in redcarpet 3.5.1.

On this page
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.

Severity

CVSS 3.1

5.4 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
EPSS
1.6% (unchanged from 1.6% a week ago; 1.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 76th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component (Injection)
CWE-79 Improper Neutralization of Input During Web Page Generation (Cross-site Scripting)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-26298 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-26298?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-26298?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-26298 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
redcarpet_project:redcarpetbefore 3.5.1
debian:debian_linux9.0
debian:debian_linux10.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-q3wr-qw3g-3p4hRubyGemsredcarpet<3.5.13.5.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9ruby-redcarpet3.3.4-2+deb9u1DLA-2526-1
Debian10ruby-redcarpet3.4.0-4+deb10u1DSA-4831-1
Debian12, 13, 14ruby-redcarpet3.5.1-1DEBIAN-CVE-2020-26298
SUSEHPE Helion OpenStack 8documentation-hpe-helion-openstack-user, documentation-hpe-helion-openstack-planning, documentation-hpe-helion-openstack-security and 3 more8.20210806-1.35.1SUSE-SU-2021:3728-1
SUSEHPE Helion OpenStack 8venv-openstack-horizon-hpe12.0.5~dev6-14.38.1SUSE-SU-2021:3728-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8ardana-ansible8.0+git.1632499354.a56668f-3.82.1SUSE-SU-2021:3728-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8ardana-monasca8.0+git.1627997000.6c3bc04-3.30.1SUSE-SU-2021:3728-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8venv-openstack-heat9.0.8~dev22-12.35.1SUSE-SU-2021:3728-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8venv-openstack-monasca2.2.2~dev1-11.30.1SUSE-SU-2021:3728-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8, OpenStack Cloud Crowbar 8openstack-ec2-api5.0.1~dev12-4.9.1SUSE-SU-2021:3728-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8, OpenStack Cloud Crowbar 8openstack-heat-templates0.0.0+git.1628179051.7d761bf-3.24.1SUSE-SU-2021:3728-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8, OpenStack Cloud Crowbar 8python-Django1.11.29-3.28.1SUSE-SU-2021:3728-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8, OpenStack Cloud Crowbar 8python-monasca-common2.3.1~dev4-4.9.1SUSE-SU-2021:3728-1
SUSEOpenStack Cloud 8documentation-suse-openstack-cloud-user, documentation-suse-openstack-cloud-planning, documentation-suse-openstack-cloud-security and 6 more8.20210806-1.35.1SUSE-SU-2021:3728-1
SUSEOpenStack Cloud 8venv-openstack-horizon12.0.5~dev6-14.38.2SUSE-SU-2021:3728-1
36 more for SUSE in the JSON and on SUSE's page.

From the distributions' data via OSV.dev: the Debian Security Tracker; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · SUSE.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat 3scale API Management Platform 2redcarpetAffected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-26298.

Attack patterns (CAPEC)

  • CAPEC-63 Cross-Site Scripting (XSS) Likelihood: High · Severity: Very High
  • CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
  • CAPEC-209 XSS Using MIME Type Mismatch Severity: Medium
  • CAPEC-588 DOM-Based XSS Likelihood: High · Severity: Very High
  • CAPEC-591 Reflected XSS Likelihood: High · Severity: Very High
  • CAPEC-592 Stored XSS Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-74 (37).

References

Check your stackJSON