redcarpet 3.3.1

2 security vulnerabilities found in version 3.3.1

Injection/XSS in Redcarpet

high severity CVE-2020-26298
high severity CVE-2020-26298
Patched versions: >= 3.5.1

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.

redcarpet Gem for Ruby html.c header_anchor() Function Stack Overflow

high severity CVE-2015-5147
high severity CVE-2015-5147
Patched versions: >= 3.3.2
Unaffected versions: < 3.3.0

redcarpet Gem for Ruby contains a flaw that allows a stack overflow. This flaw exists because the header_anchor() function in html.c uses variable length arrays (VLA) without any range checking. This may allow a remote attacker to execute arbitrary code.

No officially reported memory leakage issues detected.


This gem version does not have any officially reported memory leaked issues.

No license issues detected.


This gem version has a license in the gemspec.

This gem version is available.


This gem version has not been yanked and is still available for usage.