Injection/XSS in Redcarpet
Moderate severity
GitHub Reviewed
Published
Jan 11, 2021
to the GitHub Advisory Database
•
Updated May 9, 2023
Description
Reviewed
Jan 11, 2021
Published to the GitHub Advisory Database
Jan 11, 2021
Published by the National Vulnerability Database
Jan 11, 2021
Last updated
May 9, 2023
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.References