Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. redcarpet
  4. ›
  5. CVE-2020-26298

CVE-2020-26298: Cross-site Scripting

January 11, 2021 (updated January 16, 2021)

In Redcarpet there is an injection vulnerability which can enable a cross-site scripting attack. This applies even when the :escape_html option was being used.

References

  • nvd.nist.gov/vuln/detail/CVE-2020-26298

Code Behaviors & Features

Detect and mitigate CVE-2020-26298 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 3.5.1

Fixed versions

  • 3.5.1

Solution

Upgrade to version 3.5.1 or above.

Impact 5.4 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

gem/redcarpet/CVE-2020-26298.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:03 +0000.