CVE-2020-26298
Last modified
CVE-2020-26298 is a medium-severity vulnerability rated 5.4/10 on the CVSS scale. 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. EPSS estimates a 1.57% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Redcarpet Project | Redcarpet | < 3.5.1 |
| Debian | Debian Linux | 9.0 |
| Debian | Debian Linux | 10.0 |
References
- https://github.com/advisories/GHSA-q3wr-qw3g-3p4hThird Party Advisory
- https://github.com/vmg/redcarpet/blob/master/CHANGELOG.md#version-351-securityRelease Notes, Third Party Advisory
- https://github.com/vmg/redcarpet/commit/a699c82292b17c8e6a62e1914d5eccc252272793Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/01/msg00014.htmlMailing List, Third Party Advisory
- https://rubygems.org/gems/redcarpetProduct, Third Party Advisory
- https://www.debian.org/security/2021/dsa-4831Third Party Advisory
- https://github.com/advisories/GHSA-q3wr-qw3g-3p4hThird Party Advisory
- https://github.com/vmg/redcarpet/blob/master/CHANGELOG.md#version-351-securityRelease Notes, Third Party Advisory
- https://github.com/vmg/redcarpet/commit/a699c82292b17c8e6a62e1914d5eccc252272793Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/01/msg00014.htmlMailing List, Third Party Advisory
- https://rubygems.org/gems/redcarpetProduct, Third Party Advisory
- https://www.debian.org/security/2021/dsa-4831Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2020-26298?
How severe is CVE-2020-26298?
How do I fix CVE-2020-26298?
Are you affected by CVE-2020-26298?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
