cvedb.io
CVE-2021-39199
CRITICAL · CVSS 10
EPSS exploitation probability: 0%
Published 2021-09-07T19:15:08.747 · Last modified 2026-06-17T04:03:17.840

Summary

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.

Affected products

remark — remark-html

Does this affect you?

Add your gear to cvedb and we'll alert you only when remark ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.