Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Tools/GitHubGitHub/merbinr/cve-2023-31606
Static Code Analysis (SAST)Vulnerability AnalysisWeb SecurityPapers & ResearchLearning & Education
GitHubmerbinr/cve-2023-31606

CVE-2023-31606

Documentation of CVE-2023-31606: a ReDoS vulnerability in Redcloth gem's sanitize_html function, with root cause analysis, CVSS 7.5 scoring, and OWASP references for educational purposes.

View Repository
21433 years agoNot yet reviewed
Share

CVE-2023-31606

Vulnerability

A Regular Expression Denial of Service (ReDoS) issue was discovered in the sanitize_html function of redcloth gem >= v4.0.0. This vulnerability allows attackers to cause a Denial of Service (DoS) via supplying a crafted payload.

What is ReDoS?

As per OWASP - The Regular expression Denial of Service (ReDoS) is a Denial of Service attack, that exploits the fact that most Regular Expression implementations may reach extreme situations that cause them to work very slowly (exponentially related to input size). An attacker can then cause a program using a Regular Expression to enter these extreme situations and then hang for a very long time. For more information, refer to OWASP ReDoS.

Affected Product

  • Redcloth gem >= 4.0.0

Fixed Version

  • Not fixed yet

CVE ID

  • CVE-2023-31606

Vulnerability Type

  • Regular Expression Denial of Service (ReDoS)

Root Cause

  • The sanitize_html function of redcloth is using the below regex to sanitize the html tags.
 /<(/)([A-Za-z]\w*)([^>]?)(\s?/?)>/
  • This regex is matched with the user input provided in the sanitize_html function.

Impact

  • An attacker can cause a Denial of Service (DoS) via supplying a crafted payload.

CVSS

  • 7.5 High

The last commit to the repository was made on 2019-03-28 and the last version v4.3.2 was released on 2016-05-24. The project is no longer maintained.

References

  • https://github.com/jgarber/redcloth/issues/73
Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    668
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    496
  • 3

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    394
  • 4

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    339
  • 5

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    258
  • 6

    antifox

    antifox-ai/antifox

    AI multi-agent autonomous penetration testing platform that runs recon, attack-surface discovery, exploitation validation and evidence-backed report delivery.

    254

Explore all tools

Browse our collection of tools

View all tools →