Vulnerability CVE-2020-26298


Published: 2021-01-11

Description:
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.

Type:

CWE-79

(Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'))

CVSS2 => (AV:N/AC:M/Au:N/C:N/I:P/A:N)

CVSS Base Score
Impact Subscore
Exploitability Subscore
4.3/10
2.9/10
8.6/10
Exploit range
Attack complexity
Authentication
Remote
Medium
No required
Confidentiality impact
Integrity impact
Availability impact
None
Partial
None
Affected software
Redcarpet project -> Redcarpet 

 References:
https://github.com/advisories/GHSA-q3wr-qw3g-3p4h
https://github.com/vmg/redcarpet/blob/master/CHANGELOG.md#version-351-security
https://github.com/vmg/redcarpet/commit/a699c82292b17c8e6a62e1914d5eccc252272793
https://lists.debian.org/debian-lts-announce/2021/01/msg00014.html
https://rubygems.org/gems/redcarpet
https://www.debian.org/security/2021/dsa-4831

Copyright 2024, cxsecurity.com

 

Back to Top