All reports
High

Remote code execution in Kramdown

Affected versions

RubyGemskramdown
Affected versions
>= 1.16.0, < 2.3.1
Fixed version
2.3.1

Exploitation

CVE-2021-28834

Probability of exploitation in the next 30 days: 2.70%

FIRST EPSS · 2026-11-23

Description

Kramdown before 2.3.1 does not restrict Rouge formatters to the Rouge::Formatters namespace, and thus arbitrary classes can be instantiated.

Links