github jmaupetit/md2pdf v5.0.0
5.0.0 - Opt-in templates rendering

one hour ago

Security

  • Render input markdown as a Jinja template in a sandboxed environment, only when template rendering is explicitly enabled (CWE-1336). Any markdown input used to be rendered as a non-sandboxed Jinja template, allowing server-side template injection leading to arbitrary code execution when converting untrusted documents.

Changed

  • BREAKING: Jinja template rendering is now opt-in (disabled by default): use the render_template=True argument with the Python API or the --template flag with the CLI to enable it

Don't miss a new md2pdf release

NewReleases is sending notifications on new releases.