CVE-2020-26298: Injection in Redcarpet
Noroxi assessment
Priority: Monitor (action score 21/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 1.5% (FIRST EPSS); higher than 76% of all records.
- Anyone who can reach it over the internet can trigger it. A low-privileged account is enough. A user must open a link or visit a page. No special conditions are required; it is repeatable.
- Fixed version: vmg redcarpet 3.5.1.
Low priority for now. Upgrade to vmg redcarpet 3.5.1 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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
- Jan 11, 2021
- Updated
- Jun 16, 2026
- EPSS
- 1.5% · 76th percentile
- CWE
- CWE-74
Report tools
Action score
21
Low priority for now.
- CVSS
- 21 / 40 · 5.4 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 1.5%
CNA vs NVD score
- NVD
- 5.4
- CNA · GitHub_M
- 6.8
- 1.4 point gap
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| redcarpet project | redcarpet | cpe:2.3:a:redcarpet_project:redcarpet |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
Versions reported by the vendor
Affected version ranges reported by the assigning authority (GitHub_M). Independent of NVD's CPE analysis and usually ahead of it.
vmg redcarpet
- < 3.5.1affected
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- debian debian linux10.0
- debian debian linux9.0
- redcarpet project redcarpetbefore 3.5.1
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:10 | ruby-redcarpet | before 3.4.0-4+deb10u1 | 3.4.0-4+deb10u1 |
| Debian:12 | ruby-redcarpet | before 3.5.1-1 | 3.5.1-1 |
| Debian:9 | ruby-redcarpet | before 3.3.4-2+deb9u1 | 3.3.4-2+deb9u1 |
| RubyGems | redcarpet | before 3.5.1 | 3.5.1 |
| SUSE:HPE Helion OpenStack 8 | ardana-ansible | before 8.0+git.1632499354.a56668f-3.82.1 | 8.0+git.1632499354.a56668f-3.82.1 |
| SUSE:HPE Helion OpenStack 8 | ardana-monasca | before 8.0+git.1627997000.6c3bc04-3.30.1 | 8.0+git.1627997000.6c3bc04-3.30.1 |
| SUSE:HPE Helion OpenStack 8 | documentation-hpe-helion-openstack-installation | before 8.20210806-1.35.1 | 8.20210806-1.35.1 |
| SUSE:HPE Helion OpenStack 8 | documentation-hpe-helion-openstack-operations | before 8.20210806-1.35.1 | 8.20210806-1.35.1 |
| SUSE:HPE Helion OpenStack 8 | documentation-hpe-helion-openstack-opsconsole | before 8.20210806-1.35.1 | 8.20210806-1.35.1 |
| SUSE:HPE Helion OpenStack 8 | documentation-hpe-helion-openstack-planning | before 8.20210806-1.35.1 | 8.20210806-1.35.1 |
| SUSE:HPE Helion OpenStack 8 | documentation-hpe-helion-openstack-security | before 8.20210806-1.35.1 | 8.20210806-1.35.1 |
| SUSE:HPE Helion OpenStack 8 | documentation-hpe-helion-openstack-user | before 8.20210806-1.35.1 | 8.20210806-1.35.1 |
| SUSE:HPE Helion OpenStack 8 | openstack-ec2-api | before 5.0.1~dev12-4.9.1 | 5.0.1~dev12-4.9.1 |
| SUSE:HPE Helion OpenStack 8 | openstack-heat-templates | before 0.0.0+git.1628179051.7d761bf-3.24.1 | 0.0.0+git.1628179051.7d761bf-3.24.1 |
| SUSE:HPE Helion OpenStack 8 | python-Django | before 1.11.29-3.28.1 | 1.11.29-3.28.1 |
| SUSE:HPE Helion OpenStack 8 | python-monasca-common | before 2.3.1~dev4-4.9.1 | 2.3.1~dev4-4.9.1 |
| SUSE:HPE Helion OpenStack 8 | venv-openstack-heat | before 9.0.8~dev22-12.35.1 | 9.0.8~dev22-12.35.1 |
| SUSE:HPE Helion OpenStack 8 | venv-openstack-horizon-hpe | before 12.0.5~dev6-14.38.1 | 12.0.5~dev6-14.38.1 |
| SUSE:HPE Helion OpenStack 8 | venv-openstack-monasca | before 2.2.2~dev1-11.30.1 | 2.2.2~dev1-11.30.1 |
| SUSE:OpenStack Cloud 8 | documentation-suse-openstack-cloud-installation | before 8.20210806-1.35.1 | 8.20210806-1.35.1 |
| SUSE:OpenStack Cloud 8 | documentation-suse-openstack-cloud-operations | before 8.20210806-1.35.1 | 8.20210806-1.35.1 |
| SUSE:OpenStack Cloud 8 | documentation-suse-openstack-cloud-opsconsole | before 8.20210806-1.35.1 | 8.20210806-1.35.1 |
| SUSE:OpenStack Cloud 8 | documentation-suse-openstack-cloud-planning | before 8.20210806-1.35.1 | 8.20210806-1.35.1 |
| SUSE:OpenStack Cloud 8 | documentation-suse-openstack-cloud-security | before 8.20210806-1.35.1 | 8.20210806-1.35.1 |
+41
Same product
redcarpet project: all recordsOther highest-scoring records for the same primary product.
- CVE-2015-5147Stack-based buffer overflow in the header_anchor function in the HTML renderer in Redcarpet before 3.3.2 allows attackers to cause a denial…31Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| vmg redcarpet | 3.5.1 · description | Vendor (CNA) |
| debian:ruby-redcarpet | 3.5.1-1 · Debian:12 | Package registry (OSV) |
| RubyGems:redcarpet | 3.5.1 | Package registry (OSV) |
| suse:ardana-ansible | 8.0+git.1632499354.a56668f-3.82.1 · SUSE:HPE Helion OpenStack 8 | Package registry (OSV) |
| suse:ardana-monasca | 8.0+git.1627997000.6c3bc04-3.30.1 · SUSE:HPE Helion OpenStack 8 | Package registry (OSV) |
| suse:documentation-hpe-helion-openstack-installation | 8.20210806-1.35.1 · SUSE:HPE Helion OpenStack 8 | Package registry (OSV) |
| suse:documentation-hpe-helion-openstack-operations | 8.20210806-1.35.1 · SUSE:HPE Helion OpenStack 8 | Package registry (OSV) |
| suse:documentation-hpe-helion-openstack-opsconsole | 8.20210806-1.35.1 · SUSE:HPE Helion OpenStack 8 | Package registry (OSV) |
| suse:documentation-hpe-helion-openstack-planning | 8.20210806-1.35.1 · SUSE:HPE Helion OpenStack 8 | Package registry (OSV) |
| suse:documentation-hpe-helion-openstack-security | 8.20210806-1.35.1 · SUSE:HPE Helion OpenStack 8 | Package registry (OSV) |
| suse:documentation-hpe-helion-openstack-user | 8.20210806-1.35.1 · SUSE:HPE Helion OpenStack 8 | Package registry (OSV) |
| suse:openstack-ec2-api | 5.0.1~dev12-4.9.1 · SUSE:HPE Helion OpenStack 8 | Package registry (OSV) |
| suse:openstack-heat-templates | 0.0.0+git.1628179051.7d761bf-3.24.1 · SUSE:HPE Helion OpenStack 8 | Package registry (OSV) |
| suse:python-Django | 1.11.29-3.28.1 · SUSE:HPE Helion OpenStack 8 | Package registry (OSV) |
| suse:python-monasca-common | 2.3.1~dev4-4.9.1 · SUSE:HPE Helion OpenStack 8 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Not on record for this CVE: EPSS history · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- A low-privileged account is enough.
- A user must open a link or visit a page.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- low · data can be read
- Integrity
- low · data or configuration can be modified
- Availability
- none
Impact can extend beyond the vulnerable component (scope changes).
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- Required
- Scope
- Changed
- Confidentiality impact
- Low
- Integrity impact
- Low
- Availability impact
- None
Weakness class (CWE)
CWE-74 · Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Buffer Overflow via Environment VariablesCAPEC-10likelihood: High · High
- Server Side Include (SSI) InjectionCAPEC-101likelihood: High · High
- HTTP Request SplittingCAPEC-105likelihood: Medium · High
- Command Line Execution through SQL InjectionCAPEC-108likelihood: Low · Very High
- Double EncodingCAPEC-120likelihood: Low · Medium
- Subverting Environment Variable ValuesCAPEC-13likelihood: High · Very High
- Format String InjectionCAPEC-135likelihood: High · High
- Client-side Injection-induced Buffer OverflowCAPEC-14likelihood: Medium · High
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (8 more)Show less
- github.com/vmg/redcarpet/blob/master/CHANGELOG.md#version-351-security
- github.com/vmg/redcarpet/commit/a699c82292b17c8e6a62e1914d5eccc252272793
- lists.debian.org/debian-lts-announce/2021/01/msg00014.html
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BFMYDIONVWATY7EB6EARDVXT47AYCRNM/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FNO4ZZUPGAEUXKQL4G2HRIH7CUZKPCT6/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PXNNWHHAPREDM3XJDACYRTK7DBMUONBI/
- rubygems.org/gems/redcarpet
- www.debian.org/security/2021/dsa-4831
Vendor advisories and official records. Exploit/PoC links are deliberately left out.