GHSA-q3wr-qw3g-3p4h

    Dashboard / Vulnerabilities / GHSA-q3wr-qw3g-3p4h

    GHSA-q3wr-qw3g-3p4h

    Published: 11 Jan 2021Last Modified: 8 Jul 2026

    Summary: Injection/XSS in Redcarpet

    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.

    Affected packages

    Package

    Name: redcarpet

    Purl: pkg:gem/redcarpet

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -3.5.1

    Affected versions

    1.0.0
    1.0.1

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-q3wr-qw3g-3p4h | CVE-DB