CVE-2012-6684Redcloth Library
Medium 4.3 No auth needed
Follow: this CVE · Redcloth · Redcloth Library We alert you by email or Slack (account required).
- Priority
- 41
- CVSS 2.0
- 4.3
- EPSS
- 2.3% probability of exploitation in 30 days · percentile 84
- Auth required
- No
- Published
- Jan 8, 2015
- Updated
- Jun 16, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
AV:N/AC:M/Au:N/C:N/I:P/A:N
What happens
Cross-site scripting (XSS) vulnerability in the RedCloth library 4.2.9 for Ruby and earlier allows remote attackers to inject arbitrary web script or HTML via a javascript: URI.
What to do
- Apply the vendor's security update for Redcloth Library.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| RubyGems | RedCloth |
< 4.3.0 |
4.3.0 |
gem "RedCloth", ">= 4.3.0" |
Per OSV / GitHub Advisories (GHSA-r23g-3qw4-gfh2). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| redcloth | redcloth_library | ≤ 4.2.9 |
| debian | debian_linux | 7.0 |
Official sources
References
Links published by the sources. Open them with care.
- co3k.org Broken Link
- jgarber.lighthouseapp.com Third Party Advisory
- seclists.org Exploit Mailing List Third Party Advisory
- www.debian.org Third Party Advisory
- gist.github.com Issue Tracking Patch