CVE-2020-26298 – redcarpet
Package
Manager: gem
Name: redcarpet
Vulnerable Version: >=0 <3.5.1
Severity
Level: Medium
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
EPSS: 0.00281 pctl0.51046
Details
Injection/XSS in Redcarpet 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.
Metadata
Created: 2021-01-11T19:06:10Z
Modified: 2022-10-07T20:41:40Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/01/GHSA-q3wr-qw3g-3p4h/GHSA-q3wr-qw3g-3p4h.json
CWE IDs: ["CWE-74", "CWE-79"]
Alternative ID: GHSA-q3wr-qw3g-3p4h
Finding: F008
Auto approve: 1