Live threats

All CVEs / Kramdown Project

CVE-2020-14001Kramdown Project Kramdown

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
4.6%
probability of exploitation in 30 days · percentile 92
Auth required
No
Published
Jul 17, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-862
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

The kramdown gem before 2.3.0 for Ruby processes the template option inside Kramdown documents by default, which allows unintended read access (such as template="/etc/passwd") or unintended embedded Ruby code execution (such as a string that begins with template="string://<%= `). NOTE: kramdown is used in Jekyll, GitLab Pages, GitHub Pages, and Thredded Forum.

Original NVD text.

What to do

  1. Apply the vendor's security update for Kramdown.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
RubyGems kramdown < 2.3.0 2.3.0 gem "kramdown", ">= 2.3.0"

Per OSV / GitHub Advisories (GHSA-mqm2-cgpr-p4m6). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
kramdown_projectkramdown< 2.3.0
debiandebian_linux9.0
debiandebian_linux10.0
fedoraprojectfedora31
fedoraprojectfedora32
canonicalubuntu_linux20.04

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.