TROYANOSYVIRUS
Back to CVEs

CVE-2020-26298

MEDIUM
6.8

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.

CVE Details

CVSS v3.1 Score6.8
SeverityMEDIUM
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N
Attack VectorNETWORK
ComplexityLOW
Privileges RequiredLOW
User InteractionREQUIRED
Published1/11/2021
Last Modified11/21/2024
Sourcenvd
Honeypot Sightings0

Affected Products

debian:debian_linuxredcarpet_project:redcarpet

Weaknesses (CWE)

CWE-74CWE-79

References

https://rubygems.org/gems/redcarpet(security-advisories@github.com)
https://www.debian.org/security/2021/dsa-4831(security-advisories@github.com)
https://github.com/advisories/GHSA-q3wr-qw3g-3p4h(af854a3a-2127-422b-91ae-364da2661108)
https://rubygems.org/gems/redcarpet(af854a3a-2127-422b-91ae-364da2661108)
https://www.debian.org/security/2021/dsa-4831(af854a3a-2127-422b-91ae-364da2661108)

IOC Correlations

No correlations recorded

This product uses data from the NVD API but is not endorsed or certified by the NVD.