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.
The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.
Link | Tags |
---|---|
https://github.com/advisories/GHSA-q3wr-qw3g-3p4h | third party advisory |
https://github.com/vmg/redcarpet/commit/a699c82292b17c8e6a62e1914d5eccc252272793 | third party advisory patch |
https://rubygems.org/gems/redcarpet | third party advisory product |
https://github.com/vmg/redcarpet/blob/master/CHANGELOG.md#version-351-security | third party advisory release notes |
https://lists.debian.org/debian-lts-announce/2021/01/msg00014.html | third party advisory mailing list |
https://www.debian.org/security/2021/dsa-4831 | third party advisory vendor advisory |
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FNO4ZZUPGAEUXKQL4G2HRIH7CUZKPCT6/ | vendor advisory |
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BFMYDIONVWATY7EB6EARDVXT47AYCRNM/ | vendor advisory |
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PXNNWHHAPREDM3XJDACYRTK7DBMUONBI/ | vendor advisory |