{"cve":"CVE-2023-31606","nvd":{"published":"2023-06-06T17:15:14.843","modified":"2026-06-17T05:57:14.023","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-1333"],"references":["https://github.com/e23e/CVE-2023-31606#readme","https://github.com/jgarber/redcloth","https://github.com/jgarber/redcloth/issues/73","https://lists.debian.org/debian-lts-announce/2023/07/msg00002.html","https://security.gentoo.org/glsa/202401-14"],"products":["promptworks:redcloth"],"source":"nvd","synced_at":"2026-10-19T21:38:24.161619714+00:00"},"epss":{"cve":"CVE-2023-31606","score":0.01513,"percentile":0.74485,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-qcm3-vfq5-wfr2","url":"https://osv.dev/vulnerability/GHSA-qcm3-vfq5-wfr2","summary":"RedCloth Regular Expression Denial of Service issue","modified":"2024-02-16T08:20:39.647392Z","packages":[{"ecosystem":"RubyGems","name":"RedCloth","purl":"pkg:gem/RedCloth","ranges":["<4.3.3"],"fixed":["4.3.3"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}