Live threats

All CVEs / Promptworks

CVE-2023-31606Promptworks Redcloth

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
1.7%
probability of exploitation in 30 days · percentile 77
Auth required
No
Published
Jun 6, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-1333
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Redcloth.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
RubyGems RedCloth < 4.3.3 4.3.3 gem "RedCloth", ">= 4.3.3"

Per OSV / GitHub Advisories (GHSA-qcm3-vfq5-wfr2). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
promptworksredcloth≥ 4.0.0 ≤ 4.3.2

Official sources

References

Links published by the sources. Open them with care.