CVE-2020-26298

NameCVE-2020-26298
DescriptionRedcarpet 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-2526-1, DSA-4831-1
Debian Bugs980057

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
ruby-redcarpet (PTS)buster, buster (security)3.4.0-4+deb10u1fixed
bookworm, bullseye3.5.1-1fixed
sid, trixie3.6.0-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
ruby-redcarpetsourcestretch3.3.4-2+deb9u1DLA-2526-1
ruby-redcarpetsourcebuster3.4.0-4+deb10u1DSA-4831-1
ruby-redcarpetsource(unstable)3.5.1-1980057

Notes

https://github.com/advisories/GHSA-q3wr-qw3g-3p4h
https://github.com/vmg/redcarpet/commit/a699c82292b17c8e6a62e1914d5eccc252272793

Search for package or bug name: Reporting problems