CVE-2020-26298
Redcarpet Project Redcarpet vulnerability
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
Redcarpet, Debian Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Redcarpet Project Redcarpet runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/vmg/redcarpet/commit/a699c82292b17c8e6a62e1914d5eccc252272793 · Patch
- github.com/advisories/GHSA-q3wr-qw3g-3p4h · Third Party Advisory
- github.com/vmg/redcarpet/blob/master/CHANGELOG.md#version-351-security · Third Party Advisory
- lists.debian.org/debian-lts-announce/2021/01/msg00014.html · Third Party Advisory
- rubygems.org/gems/redcarpet · Third Party Advisory
- www.debian.org/security/2021/dsa-4831 · Third Party Advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/B
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/F
- nvd.nist.gov/vuln/detail/CVE-2020-26298
- cve.org/CVERecord?id=CVE-2020-26298
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.