What’s Vulnerable › Vulnerabilities

CVE-2020-26298: Injection in Redcarpet

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 products

How to fix

Upgrade to a fixed version: Redcarpet Project Redcarpet 3.5.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2020-26298 or the next vulnerability affects your stack