CVE-2012-6684
RedCloth 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.
Exploit likelihood
What each source reports
NVD Score used
4.3
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.
- Record
CVE-2012-6684- CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:P/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2012-6684- Updated
- 2026-11-02
EUVDEUVD-2017-0295 No score
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.
- Record
EUVD-2017-0295- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-r23g-3qw4-gfh2 No score
RedCloth 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.
- Record
GHSA-r23g-3qw4-gfh2- Weakness
- CWE-79
- Updated
- 2026-11-02
OSV No score
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.
- Record
CVE-2012-6684- Updated
- 2026-11-02
OSVDEBIAN-CVE-2012-6684 No score
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.
- Record
DEBIAN-CVE-2012-6684- Updated
- 2026-11-02
OSVGHSA-r23g-3qw4-gfh2 No score
RedCloth 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.
- Record
GHSA-r23g-3qw4-gfh2- Weakness
- CWE-79
- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10401-1 No score
ruby2.2-rubygem-RedCloth-4.3.2-1.5 on GA media
These are all security issues fixed in the ruby2.2-rubygem-RedCloth-4.3.2-1.5 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10401-1- Updated
- 2026-11-02
OSVUBUNTU-CVE-2012-6684 No score
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.
- Record
UBUNTU-CVE-2012-6684- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
redclothRubyGems |
before 4.3.0 | 4.3.0 |
ruby-redclothDebian:12 |
before 4.2.9-4 | 4.2.9-4 |
ruby-redclothDebian:13 |
before 4.2.9-4 | 4.2.9-4 |
ruby-redclothDebian:14 |
before 4.2.9-4 | 4.2.9-4 |
redclothDebian:6.0 |
before 4.2.2-1.1+deb6u1, plus listed versions 4.2.2-1.1 |
4.2.2-1.1+deb6u1 |
ruby-redclothDebian:7 |
before 4.2.9-2+deb7u2, plus listed versions 4.2.9-24.2.9-2+deb7u1 |
4.2.9-2+deb7u2 |
RedClothRubyGems |
before 4.3.0, plus listed versions 3.0.03.0.13.0.23.0.33.0.4 Show 20 moreShow less4.0.04.0.14.0.24.0.34.0.44.1.04.1.14.1.94.2.04.2.14.2.24.2.34.2.44.2.4.pre14.2.4.pre24.2.4.pre34.2.54.2.74.2.84.2.9 |
4.3.0 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2012-6684 is a medium vulnerability (CVSS 4.3) in Redcloth Library, published January 8, 2015. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.25%, the 82nd percentile. Fixed in redcloth 4.3.0.
References
co3k.org/blog/redcloth-unfixed-xss-en
jgarber.lighthouseapp.com/projects/13054-redcloth/tickets/243-xss
seclists.org/fulldisclosure/2014/Dec/50
gist.github.com/co3k/75b3cb416c342aa1414c
debian.org/security/2015/dsa-3168
nvd.nist.gov/vuln/detail/CVE-2012-6684
Show 7 moreShow less
github.com/rubysec/ruby-advisory-db/blob/master/gems/RedCloth/CVE-2012-6684.yml
web.archive.org/web/20150128115714/http://jgarber.lighthouseapp.com/projects/13054-redcloth/tickets/243-xss
github.com/advisories/GHSA-r23g-3qw4-gfh2
security-tracker.debian.org/tracker/CVE-2012-6684
ubuntu.com/security/CVE-2012-6684
cve.org/CVERecord?id=CVE-2012-6684
suse.com/security/cve/CVE-2012-6684