CVE-2020-26298

MEDIUMCVSS 5.4/10EPSS 1.57%

Last modified

CVE-2020-26298 is a medium-severity vulnerability rated 5.4/10 on the CVSS scale. 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. EPSS estimates a 1.57% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
5.4/10

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

EPSS Probability
1.57%

72.2th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
Redcarpet ProjectRedcarpet< 3.5.1
DebianDebian Linux9.0
DebianDebian Linux10.0

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2020-26298?
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.
How severe is CVE-2020-26298?
CVE-2020-26298 has a CVSS score of 5.4/10 (MEDIUM severity). The EPSS model estimates a 1.57% probability of exploitation in the next 30 days.
How do I fix CVE-2020-26298?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2020-26298?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST