CVE-2023-28631

CriticalCVSS 9.8/10Last modified Jun 17, 2026

Description

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_document_with_plugins`. However, the HTML formatting code assumes that the AST is well-formed. For example, many AST notes contain `[u8]` fields which the formatting code assumes is valid UTF-8 data. Several bugs can be triggered if this is not the case. Version 0.17.0 contains adjustments to the AST, storing strings instead of unvalidated byte arrays. Users are advised to upgrade. Users unable to upgrade may manually validate UTF-8 correctness of all data when assigning to `&[u8]` and `Vec<u8>` fields in the AST. This issue is also tracked as `GHSL-2023-049`.

Metrics

CVSS 3.1 9.8/10CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Weakness enumeration

Affected software

No affected versions have been published.

Timeline

Published
Mar 28, 2023
Last modified
Jun 17, 2026
NVD status
Modified

Related CVEs from 2023

CVE-2023-286328.1GLPI is a free asset and IT management software package. Starting in version 0.83 and prior to versions 9.5.13 and 10.0.7, an authenticated CVE-2023-286335.4GLPI is a free asset and IT management software package. Starting in version 0.84 and prior to versions 9.5.13 and 10.0.7, usage of RSS feedCVE-2023-286348.8GLPI is a free asset and IT management software package. Starting in version 0.83 and prior to versions 9.5.13 and 10.0.7, a user who has thCVE-2023-286355.4vantage6 is privacy preserving federated learning infrastructure. Prior to version 4.0.0, malicious users may try to get access to resourcesCVE-2023-286364.8GLPI is a free asset and IT management software package. Starting in version 0.60 and prior to versions 9.5.13 and 10.0.7, a vulnerability aCVE-2023-286378.8DataEase is an open source data visualization analysis tool. In Dataease users are normally allowed to modify data and the data sources are CVE-2023-286385.9Snappier is a high performance C# implementation of the Snappy compression algorithm. This is a buffer overrun vulnerability that can affectCVE-2023-286396.1GLPI is a free asset and IT management software package. Starting in version 0.85 and prior to versions 9.5.13 and 10.0.7, a malicious link CVE-2023-28646.1A vulnerability was found in SourceCodester Online Jewelry Store 1.0 and classified as problematic. Affected by this issue is some unknown fCVE-2023-286403.1Apiman is a flexible and open source API Management platform. Due to a missing permissions check, an attacker with an authenticated Apiman MCVE-2023-286427.8runc is a CLI tool for spawning and running containers according to the OCI specification. It was found that AppArmor can be bypassed when `CVE-2023-286438.8Nextcloud server is an open source home cloud implementation. In affected versions when a recipient receives 2 shares with the same name, wh
CVE-2023-28631: Critical severity, CVSS 9.8 | Vulnix