CVE-2012-6684
MEDIUM 4.3CVSS 2.0RedCloth Cross-site Scripting vulnerability
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.
- Published
- 8 Jan 2015
- Last modified
- 16 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-r23g-3qw4-gfh2
- Sources
- NVDJSONOSV GHSA-r23g-3qw4-gfh2JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | redcloth | redcloth_librarycpe:2.3:a:redcloth:redcloth_library:*:*:*:*:*:ruby:*:* |
<= 4.2.9 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* |
= 7.0 | |
| OSV | RubyGems | RedCloth | < 4.3.0 | 4.3.0 |
References
- http://co3k.org/blog/redcloth-unfixed-xss-en · Broken Link
- http://jgarber.lighthouseapp.com/projects/13054-redcloth/tickets/243-xss · Third Party Advisory
- http://seclists.org/fulldisclosure/2014/Dec/50 · Exploit, Mailing List, Third Party Advisory, WEB
- http://www.debian.org/security/2015/dsa-3168 · Third Party Advisory, WEB
- https://gist.github.com/co3k/75b3cb416c342aa1414c · Issue Tracking, Patch, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2012-6684 · ADVISORY
- https://co3k.org/blog/redcloth-unfixed-xss-en · WEB
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/RedCloth/CVE-2012-6684.yml · WEB
- https://web.archive.org/web/20150128115714/http://jgarber.lighthouseapp.com/projects/13054-redcloth/tickets/243-xss · WEB
History
- 25 Nov 2026 20:18 UTC · NVD: first stored (published 8 Jan 2015)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 24 Oct 2017)