{"id":"CVE-2012-6684","aliases":["DEBIAN-CVE-2012-6684","DLA-167-1","DSA-3168-1","EUVD-2017-0295","GHSA-r23g-3qw4-gfh2","UBUNTU-CVE-2012-6684","openSUSE-SU-2024:10401-1"],"status":"published","title":"RedCloth Cross-site Scripting vulnerability","description":"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.","severity":{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.02253,"percentile":0.83026,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2015-01-08T01:00:00Z","modified":"2026-10-23T17:47:29Z","fixes":[{"ecosystem":"RubyGems","package":"redcloth","fixed_in":["4.3.0"],"sources":["ghsa"]},{"ecosystem":"Debian:12","package":"ruby-redcloth","fixed_in":["4.2.9-4"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"ruby-redcloth","fixed_in":["4.2.9-4"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"ruby-redcloth","fixed_in":["4.2.9-4"],"sources":["osv"]},{"ecosystem":"Debian:6.0","package":"redcloth","fixed_in":["4.2.2-1.1+deb6u1"],"sources":["osv"]},{"ecosystem":"Debian:7","package":"ruby-redcloth","fixed_in":["4.2.9-2+deb7u2"],"sources":["osv"]},{"ecosystem":"RubyGems","package":"RedCloth","fixed_in":["4.3.0"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"RubyGems","package":"redcloth","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.3.0"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"ruby-redcloth","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.2.9-4"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"ruby-redcloth","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.2.9-4"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"ruby-redcloth","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.2.9-4"}]}]},{"source":"osv","ecosystem":"Debian:6.0","package":"redcloth","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.2.2-1.1+deb6u1"}]}],"versions":["4.2.2-1.1"]},{"source":"osv","ecosystem":"Debian:7","package":"ruby-redcloth","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.2.9-2+deb7u2"}]}],"versions":["4.2.9-2","4.2.9-2+deb7u1"]},{"source":"osv","ecosystem":"RubyGems","package":"RedCloth","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.3.0"}]}],"versions":["3.0.0","3.0.1","3.0.2","3.0.3","3.0.4","4.0.0","4.0.1","4.0.2","4.0.3","4.0.4","4.1.0","4.1.1","4.1.9","4.2.0","4.2.1","4.2.2","4.2.3","4.2.4","4.2.4.pre1","4.2.4.pre2","4.2.4.pre3","4.2.5","4.2.7","4.2.8","4.2.9"]}],"products":[{"vendor":"debian","product":"debian_linux"},{"vendor":"redcloth","product":"redcloth_library"}],"references":[{"url":"http://co3k.org/blog/redcloth-unfixed-xss-en","tags":["x_refsource_MISC","x_transferred","Broken Link","article","report"]},{"url":"http://jgarber.lighthouseapp.com/projects/13054-redcloth/tickets/243-xss","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","report"]},{"url":"http://seclists.org/fulldisclosure/2014/Dec/50","tags":["mailing-list","x_refsource_FULLDISC","x_transferred","Exploit","Mailing List","Third Party Advisory","advisory","article","evidence","web","report"]},{"url":"https://gist.github.com/co3k/75b3cb416c342aa1414c","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Patch","fix","report","web"]},{"url":"http://www.debian.org/security/2015/dsa-3168","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-6684","tags":["advisory"]},{"url":"https://co3k.org/blog/redcloth-unfixed-xss-en","tags":["web"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/RedCloth/CVE-2012-6684.yml","tags":["web"]},{"url":"https://web.archive.org/web/20150128115714/http://jgarber.lighthouseapp.com/projects/13054-redcloth/tickets/243-xss","tags":["web"]},{"url":"https://github.com/advisories/GHSA-r23g-3qw4-gfh2"},{"url":"https://security-tracker.debian.org/tracker/CVE-2012-6684","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2012-6684","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2012-6684","tags":["report"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2012-6684","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2012-6684","description":"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.","status":"published","published":"2015-01-08T01:00:00Z","modified":"2024-08-06T21:36:01.907Z","updated_at":"2026-11-02T14:34:51.269982Z"}],"euvd":[{"id":"EUVD-2017-0295","description":"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.","status":"published","published":"2015-01-08T01:00:00Z","modified":"2024-08-06T21:36:01Z","updated_at":"2026-11-03T01:56:01.964017Z"}],"ghsa":[{"id":"GHSA-r23g-3qw4-gfh2","title":"RedCloth Cross-site Scripting vulnerability","description":"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.","status":"published","published":"2017-10-24T18:33:37Z","modified":"2023-11-04T05:04:22Z","cwes":["CWE-79"],"updated_at":"2026-11-02T14:37:12.407027Z"}],"nvd":[{"id":"CVE-2012-6684","description":"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.","status":"published","published":"2015-01-08T01:59:01.267Z","modified":"2026-06-16T23:48:35.94Z","cvss":[{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:02:17.748457Z"}],"osv":[{"id":"CVE-2012-6684","description":"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.","status":"published","published":"2015-01-08T01:59:01Z","modified":"2026-04-10T03:43:16.4996Z","updated_at":"2026-11-02T15:43:58.802805Z"},{"id":"DEBIAN-CVE-2012-6684","description":"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.","status":"published","published":"2015-01-08T01:59:01.267Z","modified":"2026-10-23T17:47:29.119010029Z","updated_at":"2026-11-02T15:45:25.218101Z"},{"id":"DLA-167-1","title":"redcloth - security update","status":"published","published":"2015-03-07T00:00:00Z","modified":"2026-03-09T01:18:02.641787Z","updated_at":"2026-11-02T15:46:09.777694Z"},{"id":"DSA-3168-1","title":"ruby-redcloth - security update","status":"published","published":"2015-02-22T00:00:00Z","modified":"2026-03-09T01:20:46.752242Z","updated_at":"2026-11-02T15:46:15.843838Z"},{"id":"GHSA-r23g-3qw4-gfh2","title":"RedCloth Cross-site Scripting vulnerability","description":"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.","status":"published","published":"2017-10-24T18:33:37Z","modified":"2024-12-03T06:15:26.753053Z","cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:55.122811Z"},{"id":"openSUSE-SU-2024:10401-1","title":"ruby2.2-rubygem-RedCloth-4.3.2-1.5 on GA media","description":"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.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T02:38:14.150605Z","updated_at":"2026-11-02T16:58:34.487567Z"},{"id":"UBUNTU-CVE-2012-6684","description":"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.","status":"withdrawn","published":"2015-01-08T01:59:00Z","modified":"2025-07-16T08:10:39.27542Z","updated_at":"2026-11-02T15:54:06.854805Z"}]}}
