VDB
Sign up
CRITICAL9.8

GHSA-52p9-v744-mwjj

Remote code execution in Kramdown

Quick fix

GHSA-52p9-v744-mwjj — kramdown: upgrade to the fixed version with the command below.

bundle update kramdown

Details

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

Are you affected?

Enter the version of the package you're using.

Affected packages

RubyGems/kramdown
Introduced in: 1.16.0Fixed in: 2.3.1
Fixbundle update kramdown

References