CVE-2019-12041: Regular Expression Denial of Service in remarkable

remarkable Updated 02 Oct 2025

Summary

06/06/2019
Yes i
High
7.5

CVE-2019-12041: Regular Expression Denial of Service in remarkable. Affects remarkable versions < 1.7.2. Fixed in 1.7.2. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The package under scrutiny is remarkable, an npm package used for parsing and rendering Markdown. It provides a simple and efficient way to convert Markdown syntax into HTML. The vulnerability in question is related to the handling of CDATA sections in the HTML rendering process.

Vulnerability Detail

The vulnerability, identified as CVE-2019-12041, is a Regular Expression Denial of Service (ReDoS) issue. It originates from the lib/common/html_re.js file in remarkable version 1.7.1. By exploiting this vulnerability, an attacker can cause a denial of service by providing specially crafted input that triggers excessive backtracking in the regular expression engine. This can lead to a significant degradation in performance or even a complete system freeze. The severity of this vulnerability is rated as HIGH with a CVSS score of 7.5.

How To Fix

Latest published version: 2.0.1 as of 23 Oct 2026

npm install remarkable@2.0.1

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

1.7.2

This is the first release that contains the fix.

npm install remarkable@1.7.2

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a workaround, if upgrading the package is not immediately feasible, developers can consider implementing input validation and sanitization measures to mitigate the risk of exploitation. By carefully validating and sanitizing user input, it is possible to prevent the triggering of the vulnerable regular expression pattern.

Conclusion

In conclusion, the remarkable package version 1.7.1 is vulnerable to a Regular Expression Denial of Service (ReDoS) issue. To mitigate this vulnerability, it is crucial to upgrade to version 1.7.2 or later. Alternatively, implementing input validation and sanitization measures can provide a temporary workaround. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for remarkable →

Share this vulnerability

FAQ

Remarkable is an npm package used for parsing and rendering Markdown. It simplifies the conversion of Markdown syntax into HTML.

ReDoS is a type of vulnerability that occurs when a regular expression pattern can be exploited to cause excessive backtracking, leading to a denial of service. It can result in a significant degradation in performance or system freeze.

The vulnerability in remarkable allows an attacker to trigger excessive backtracking in the regular expression engine by providing specially crafted input. This can lead to a denial of service, causing performance degradation or system freeze.

The severity of this vulnerability is rated as HIGH with a CVSS score of 7.5.

To fix this vulnerability, it is recommended to upgrade the remarkable package to version 1.7.2 or later. This version includes a fix for the ReDoS issue in the HTML rendering code.

Related vulnerabilities

Recent vulnerabilities recorded for remarkable.

How To Fix

Latest published version: 2.0.1 as of 23 Oct 2026

npm install remarkable@2.0.1

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

1.7.2

This is the first release that contains the fix.

npm install remarkable@1.7.2

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback