# RedCloth (RubyGems) CVEs

2 known CVEs (1 high), with the versions each affects and the releases that fix them.

## At a glance

- Latest release: 4.3.4 (Mar 13, 2024): no advisory affects it
- Newest unaffected release: 4.3.4 (Mar 13, 2024), the latest release
- Downloads on affected versions: Not known: no per-version downloads for this ecosystem
- Releases: 30 since 3.0.0 (Jul 25, 2009)
- Registry: https://rubygems.org/gems/RedCloth
- Releases read: Nov 16, 2026
- Also indexed: [redcloth](https://cve.now/packages/rubygems/redcloth), a different package on RubyGems whose name differs only in case
- Downloads read: Nov 16, 2026

## Version timeline

Affected versions per advisory, in version order:

- CVE-2023-31606: 3.0.0 to 4.3.2 (4.3.3 is outside it)
- CVE-2012-6684: 3.0.0 to 4.2.9 (4.3.0 is outside it)

## Advisories (2)

### [CVE-2023-31606](https://cve.now/CVE-2023-31606): A Regular Expression Denial of Service (ReDoS) issue was discovered in the sanitize\_html function of redcloth gem v4.0.0.

- Severity: High 7.5
- Published: Jun 6, 2023
- Affected: fixed in 4.3.3.
- Fixed in 4.3.3 (released Nov 3, 2023, 150 days after disclosure).
- The latest release, 4.3.4, is not affected.

### [CVE-2012-6684](https://cve.now/CVE-2012-6684): Cross-site scripting (XSS) vulnerability in the RedCloth library 4.2.9 for Ruby and earlier allows remote attackers to inject arbitrary…

- Severity: Unrated
- Published: Jan 8, 2015
- Affected: fixed in 4.3.0.
- Fixed in 4.3.0 (released May 2, 2016, 480 days after disclosure).
- The latest release, 4.3.4, is not affected.

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/packages/rubygems/RedCloth
Site guide for agents: https://cve.now/llms.txt
Uses NVD data; not endorsed by NVD.

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
