p PatchFirst

CVE-2020-26298

CVE-2020-26298 · Injection in Redcarpet

CVSS 6.8 · Medium · EPSS 1.6% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="ruby-redcarpet"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Fixes in distributions

  • SUSE-SU-2021:3729-1 · SUSE OpenStack Cloud 9, SUSE OpenStack Cloud Crowbar 9 ·
  • SUSE-SU-2021:3728-1 · SUSE HPE Helion OpenStack 8, SUSE OpenStack Cloud 8, SUSE OpenStack Cloud Crowbar 8 ·
  • DLA-2526-1 · Debian 9 ·
  • DSA-4831-1 · Debian 10 ·

Stack: system · ruby

Affected products and versions

  • redcarpet

    Versions
    • < 3.5.1: Affected

    No fix published

  • ruby-redcarpet Debian 12

    Affected ranges
    • ECOSYSTEM: < 3.5.1-1

    Update to 3.5.1-1

  • ruby-redcarpet Debian 13

    Affected ranges
    • ECOSYSTEM: < 3.5.1-1

    Update to 3.5.1-1

  • ruby-redcarpet Debian 14

    Affected ranges
    • ECOSYSTEM: < 3.5.1-1

    Update to 3.5.1-1

  • redcarpet RubyGems

    Versions
    • 1.0.0
    • 1.0.1
    • 1.1.0
    • 1.1.1
    • 1.10.0
    • 1.10.1
    All versions (72)
    • 1.11.0
    • 1.11.1
    • 1.11.2
    • 1.11.3
    • 1.11.4
    • 1.12.0
    • 1.12.1
    • 1.12.2
    • 1.13.0
    • 1.13.1
    • 1.13.2
    • 1.14.0
    • 1.14.1
    • 1.14.2
    • 1.15.0
    • 1.15.1
    • 1.15.2
    • 1.16.0
    • 1.17.0
    • 1.17.1
    • 1.17.2
    • 1.2.0
    • 1.2.1
    • 1.2.2
    • 1.3.0
    • 1.3.1
    • 1.3.2
    • 1.3.3
    • 1.5.0
    • 1.5.1
    • 1.5.2
    • 1.5.3
    • 1.6.0
    • 1.7.0
    • 1.7.1
    • 1.8.0
    • 1.8.1
    • 1.8.2
    • 1.9.0
    • 2.0.0
    • 2.0.0b
    • 2.0.0b3
    • 2.0.0b4
    • 2.0.0b5
    • 2.0.1
    • 2.1.0
    • 2.1.1
    • 2.2.0
    • 2.2.1
    • 2.2.2
    • 2.3.0
    • 3.0.0
    • 3.1.0
    • 3.1.1
    • 3.1.2
    • 3.2.0
    • 3.2.1
    • 3.2.2
    • 3.2.3
    • 3.3.0
    • 3.3.1
    • 3.3.2
    • 3.3.3
    • 3.3.4
    • 3.4.0
    • 3.5.0
    Affected ranges
    • ECOSYSTEM: < 3.5.1

    Update to 3.5.1

Original sources

Check your server →