Advisory

GHSA-q3wr-qw3g-3p4h

Also known as: CVE-2020-26298

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2021-01-11 19:06 UTC
Modified
2026-07-08 05:59 UTC

Affected packages and fixes

redcarpet

RubyGems · All systems

Affected

  • introduced 0, fixed 3.5.1 (ecosystem)

Fixed versions

3.5.1

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences