CVE-2020-26298CWE-74CWE-79

Injection in Redcarpet

Medium · published January 11, 2021

CVSS v3.1
6.8
EPSS
2%
Percentile
75.5
In the wild
Unconfirmed
What it is

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 record
Technical detail
CVSS v3.1
6.8 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.01589 · 75.5th percentile
Weaknesses
CWE-74 · Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection'); CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2021-01-11T00:00Z
EPSS history
Timeline
  • 11 JAN 00:00Z
    Injection in Redcarpet
    cvelistv5