{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2023-31606","published":"2023-06-06T17:15:14.843000Z","last_modified":"2026-06-17T05:57:14.023000Z","status":"Modified","cvss":{"version":"3.1","score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-1333"],"cpes":[{"criteria":"cpe:2.3:a:promptworks:redcloth:*:*:*:*:*:ruby:*:*","part":"a","vendor":"promptworks","product":"redcloth","version_start_including":"4.0.0","version_end_including":"4.3.2"}],"cpes_truncated":false,"vendors":["promptworks"],"products":["promptworks/redcloth"],"epss":{"score":0.01655,"percentile":0.77009,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-qcm3-vfq5-wfr2","ecosystem":"RubyGems","name":"RedCloth","purl":"pkg:gem/RedCloth","ranges":[{"introduced":"0","fixed":"4.3.3"}],"versions":["3.0.0","3.0.1","3.0.2","3.0.3","3.0.4","4.0.0","4.0.1","4.0.2","4.0.3","4.0.4","4.1.0","4.1.1","4.1.9","4.2.0","4.2.1","4.2.2","4.2.3","4.2.4","4.2.4.pre1","4.2.4.pre2","4.2.4.pre3","4.2.5","4.2.7","4.2.8","4.2.9","4.3.0","4.3.1","4.3.2"],"versions_truncated":false}],"severity":"high","priority_score":60,"links":{"html_es":"/es/cve/CVE-2023-31606/","html_en":"/en/cve/CVE-2023-31606/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-31606","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-31606"},"untrusted":{"vendor_name":"Promptworks","product_name":"Redcloth","desc_en":"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.","affected":[],"references":[{"url":"https://github.com/e23e/CVE-2023-31606#readme","tags":["Exploit","Third Party Advisory"]},{"url":"https://github.com/jgarber/redcloth","tags":["Product"]},{"url":"https://github.com/jgarber/redcloth/issues/73","tags":["Exploit","Issue Tracking","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/07/msg00002.html","tags":[]},{"url":"https://security.gentoo.org/glsa/202401-14","tags":[]}]}}