CVE-2019-25103
JavaScript vulnerability analysis and mitigation

Overview

A vulnerability was identified in simple-markdown version 0.5.1, tracked as CVE-2019-25103. The issue was discovered in February 2023 and relates to a regular expression denial of service (ReDoS) vulnerability in the inline code parsing functionality (GitHub Release).

Technical details

The vulnerability stems from overlapping parts in the inline code regex pattern where spaces could be parsed as part of both \s* and [\S\s]*, leading to catastrophic backtracking when processing strings with multiple spaces. The issue was specifically located in the inlineCode matching functionality of the parser (GitHub Commit).

Impact

When exploited, this vulnerability could lead to denial of service conditions through exponential backtracking in the regular expression engine, potentially causing the application to become unresponsive when processing specially crafted input (GitHub Release).

Mitigation and workarounds

The issue was addressed in version 0.5.2 of simple-markdown by modifying the regex pattern and improving escape semantics. The fix involved removing the \s* parts of the regex and implementing a post-parsing check for cases where single spaces are used to escape backticks (GitHub Release).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-65959HIGH8.7
  • JavaScriptJavaScript
  • open-webui
NoYesDec 04, 2025
CVE-2025-66032HIGH8.7
  • JavaScriptJavaScript
  • @anthropic-ai/claude-code
NoYesDec 03, 2025
CVE-2025-65945HIGH7.5
  • JavaScriptJavaScript
  • jws
NoYesDec 04, 2025
CVE-2025-66404MEDIUM6.4
  • JavaScriptJavaScript
  • mcp-server-kubernetes
NoYesDec 03, 2025
CVE-2025-66479LOW1.8
  • JavaScriptJavaScript
  • @anthropic-ai/sandbox-runtime
NoYesDec 04, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management