CVE-2020-26298

Source
https://nvd.nist.gov/vuln/detail/CVE-2020-26298
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2020-26298.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2020-26298
Aliases
Related
Published
2021-01-11T19:15:13Z
Modified
2024-10-12T06:24:40.381284Z
Severity
  • 5.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
[none]
Details

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

Affected packages

Debian:11 / ruby-redcarpet

Package

Name
ruby-redcarpet
Purl
pkg:deb/debian/ruby-redcarpet?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.5.1-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / ruby-redcarpet

Package

Name
ruby-redcarpet
Purl
pkg:deb/debian/ruby-redcarpet?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.5.1-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / ruby-redcarpet

Package

Name
ruby-redcarpet
Purl
pkg:deb/debian/ruby-redcarpet?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.5.1-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Git / github.com/vmg/redcarpet

Affected ranges

Type
GIT
Repo
https://github.com/vmg/redcarpet
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v1.*

v1.17.2

v2.*

v2.0.0
v2.0.1
v2.1.0
v2.1.1
v2.2.0
v2.2.1
v2.2.2

v3.*

v3.0.0
v3.1.1
v3.2.0
v3.3.0
v3.3.1
v3.3.2
v3.3.3
v3.3.4
v3.4.0
v3.5.0