Skip to content
OpenAdvisories

Package · crates.io

comrak

5 known vulnerabilities.

5 results · Feed

  • Medium 5.3

    Attacker controlled data in AST nodes is not validated in comrak

    comrak is a CommonMark + GFM compatible Markdown parser and renderer written in rust. A Comrak AST can be constructed manually by a program instead of parsing a Markdown document with `parse_document`. This AST can then be converted to HTML via `html::format_…

  • Medium 5.3

    Quadratic runtime when parsing Markdown in comrak

    comrak is a CommonMark + GFM compatible Markdown parser and renderer written in rust. A range of quadratic parsing issues are present in Comrak. These can be used to craft denial-of-service attacks on services that use Comrak to parse Markdown. This issue has…

  • Medium 5.3

    Comrak vulnerable to production of excessive output when parsing Markdown (GHSL-2023-048)

    ### Impact comrak is vulnerable to the upstream cmark issue, ["Issue revealed by fuzzer"](https://github.com/commonmark/cmark/issues/354). A large number of references in a markdown document can trigger an overly large response. ### Patches 0.17.0 contains ht…

  • Medium 6.1

    Cross-site Scripting in comrak

    An issue was discovered in the comrak crate before 0.10.1 for Rust. It mishandles & characters, leading to XSS via &# HTML entities.

  • Medium 6.1

    Cross site scripting in comrak

    An issue was discovered in the comrak crate before 0.9.1 for Rust. XSS can occur because the protection mechanism for data: and javascript: URIs is case-sensitive, allowing (for example) Data: to be used in an attack.