CVE-2021-39199

MediumCVSS 6.1/10Last modified Jun 17, 2026

Description

remark-html is an open source nodejs library which compiles Markdown to HTML. In affected versions the documentation of remark-html has mentioned that it was safe by default. In practice the default was never safe and had to be opted into. That is, user input was not sanitized. This means arbitrary HTML can be passed through leading to potential XSS attacks. The problem has been patched in 13.0.2 and 14.0.1: `remark-html` is now safe by default, and the implementation matches the documentation. On older affected versions, pass `sanitize: true` if you cannot update.

Metrics

CVSS 3.1 6.1/10CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Weakness enumeration

Affected software

No affected versions have been published.

Timeline

Published
Sep 7, 2021
Last modified
Jun 17, 2026
NVD status
Modified

Related CVEs from 2021

CVE-2021-39205.4grav-plugin-admin is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')CVE-2021-392005.3WordPress is a free and open-source content management system written in PHP and paired with a MySQL or MariaDB database. In affected versioCVE-2021-392015.4WordPress is a free and open-source content management system written in PHP and paired with a MySQL or MariaDB database. ### Impact The issCVE-2021-392025.4WordPress is a free and open-source content management system written in PHP and paired with a MySQL or MariaDB database. In affected versioCVE-2021-392036.5WordPress is a free and open-source content management system written in PHP and paired with a MySQL or MariaDB database. In affected versioCVE-2021-392047.5Pomerium is an open source identity-aware access proxy. Envoy, which Pomerium is based on, incorrectly handles resetting of HTTP/2 streams wCVE-2021-392056.1Jitsi Meet is an open source video conferencing application. Versions prior to 2.0.6173 are vulnerable to client-side cross-site scripting vCVE-2021-392068.6Pomerium is an open source identity-aware access proxy. Envoy, which Pomerium is based on, contains two authorization related vulnerabilitieCVE-2021-392078.8parlai is a framework for training and evaluating AI models on a variety of openly available dialogue datasets. In affected versions the pacCVE-2021-392084.3SharpCompress is a fully managed C# library to deal with many compression types and formats. Versions prior to 0.29.0 are vulnerable to partCVE-2021-392098.8GLPI is a free Asset and IT management software package. In versions prior to 9.5.6, a user who is logged in to GLPI can bypass Cross-Site RCVE-2021-39214.3firefly-iii is vulnerable to Cross-Site Request Forgery (CSRF)
CVE-2021-39199: Medium severity, CVSS 6.1 | Vulnix