Denial of Service Vulnerability in node-marked Package

node-marked Updated 02 Oct 2025

Summary

23/01/2017
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2015-8854: The marked package before 0.3.4 for Node.js allows attackers to cause a denial of service (CPU consumption) via unspecified vectors that trigger a "catastrophic backtracking issue for the em inline rule," aka a "regular... Affects node-marked versions < 0.3.6+dfsg-1. Fixed in 0.3.6+dfsg-1. 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The node-marked package is a Markdown parser and compiler for Node.js, widely used for converting Markdown text into HTML. It is known for its speed and flexibility, making it a popular choice among developers. However, prior to version 0.3.4, the package is susceptible to a vulnerability that can lead to denial of service (DoS) attacks due to inefficient handling of certain input patterns.

Vulnerability Detail

The vulnerability in the node-marked package arises from a catastrophic backtracking issue in the regular expression used for parsing inline Markdown elements. Attackers can exploit this flaw by crafting specific input that causes excessive CPU consumption, leading to service unavailability. This type of attack is classified as a regular expression denial of service (ReDoS), which can severely impact application performance and user experience.

How To Fix

Minimum fixed version

0.3.6+dfsg-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade node-marked

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

Workaround

As a temporary workaround, you can implement input validation to filter out potentially malicious Markdown input before it reaches the node-marked parser. This can help mitigate the risk of exploitation until the package is updated.

Conclusion

The node-marked package has a significant vulnerability that can lead to denial of service attacks. It is crucial for users to update to the latest version to protect their applications. Implementing input validation can serve as a temporary measure until the update is applied.

See every vulnerability recorded for node-marked →

Share this vulnerability

FAQ

The vulnerability is a denial of service (DoS) issue caused by catastrophic backtracking in regular expressions, which can lead to high CPU usage.

You can check if your application is affected by using Vulert, which monitors open-source vulnerabilities in real-time. Visit Vulert Scanner to analyze your manifest file.

Versions of node-marked prior to 0.3.4 are vulnerable to this denial of service issue.

Yes, updating to version 0.3.6+dfsg-1 or later will resolve the vulnerability.

If an immediate update is not possible, implement input validation to mitigate the risk of exploitation until you can apply the patch.

Related vulnerabilities

Recent vulnerabilities recorded for node-marked.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

0.3.6+dfsg-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade node-marked

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