CVE-2012-6684 json
RedCloth Cross-site Scripting vulnerability
published 2015-01-08 11 y ago modified 2026-06-16 4 mo ago also GHSA-r23g-3qw4-gfh2 , EUVD-2017-0295
- cvss
- 4.3
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.3%
- EPSS 2.3% chance of exploitation in 30 days, percentile 83%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- rubygems RedCloth 4.3.0
- ruby-redcloth Debian 14, Debian 13, Debian 12 4.2.9-4
debian advisories DEBIAN-CVE-2012-6684
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2012-6684 updated cvss 4.3
rubygem-RedCloth: XSS vulnerability
-
Red Hat Subscription Asset Manager rubygem-RedClothaffected: no fix available
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.25% chance of exploitation in the next 30 days, higher than 83% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- seclists.org http://seclists.org/fulldisclosure/2014/Dec/50 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| rubygems | RedCloth | <4.3.0 |
4.3.0 |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
gist.github.com
/co3k/75b3cb416c342aa1414c
web, issue-tracking, patch
-
seclists.org
/fulldisclosure/2014/Dec/50
mailing-list, web, exploit, third-party-advisory
-
debian.org
/security/2015/dsa-3168
vendor-advisory, web, third-party-advisory
-
co3k.org
/blog/redcloth-unfixed-xss-en
broken-link
-
jgarber.lighthouseapp.com
/projects/13054-redcloth/tickets/243-xss
third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2012-6684
advisory
-
co3k.org
/blog/redcloth-unfixed-xss-en
web
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/RedCloth/CVE-2012-6684.yml
web
-
web.archive.org
/web/20150128115714/http://jgarber.lighthouseapp.com/projects/13054-redcloth/tickets/243-xss
web
Sources
- CVE List CVE-2012-6684
- GitHub Advisory GHSA-r23g-3qw4-gfh2
- NVD CVE-2012-6684
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.