{"api_version":"1","generated_at":"2026-07-23T03:11:56+00:00","cve":"CVE-2012-6684","urls":{"html":"https://cve.report/CVE-2012-6684","api":"https://cve.report/api/cve/CVE-2012-6684.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2012-6684","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2012-6684"},"summary":{"title":"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.","state":"PUBLISHED","assigner":"mitre","published_at":"2015-01-08 01:59:01","updated_at":"2026-05-06 22:30:45"},"problem_types":["CWE-79","n/a"],"metrics":[{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"4.3","severity":"","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","data":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:N/I:P/A:N","baseScore":4.3,"accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"NONE"}}],"references":[{"url":"https://gist.github.com/co3k/75b3cb416c342aa1414c","name":"https://gist.github.com/co3k/75b3cb416c342aa1414c","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Issue Tracking","Patch"],"title":"gist:75b3cb416c342aa1414c","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://co3k.org/blog/redcloth-unfixed-xss-en","name":"http://co3k.org/blog/redcloth-unfixed-xss-en","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Broken Link"],"title":"RedCloth contains unfixed XSS vulnerability for 9 years - co3k.org","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://seclists.org/fulldisclosure/2014/Dec/50","name":"http://seclists.org/fulldisclosure/2014/Dec/50","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit","Mailing List","Third Party Advisory"],"title":"Full Disclosure: RedCloth contains unfixed XSS vulnerability for 9 years","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.debian.org/security/2015/dsa-3168","name":"http://www.debian.org/security/2015/dsa-3168","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"Debian -- Security Information -- DSA-3168-1 ruby-redcloth","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://jgarber.lighthouseapp.com/projects/13054-redcloth/tickets/243-xss","name":"http://jgarber.lighthouseapp.com/projects/13054-redcloth/tickets/243-xss","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"#243 XSS - RedCloth - jgarber","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2012-6684","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-6684","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"n/a","product":"n/a","version":"affected n/a","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2012","cve_id":"6684","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"7.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2012","cve_id":"6684","vulnerable":"1","versionEndIncluding":"4.2.9","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"redcloth","cpe5":"redcloth_library","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"ruby","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-06T21:36:01.907Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"tags":["x_refsource_MISC","x_transferred"],"url":"http://co3k.org/blog/redcloth-unfixed-xss-en"},{"tags":["x_refsource_MISC","x_transferred"],"url":"http://jgarber.lighthouseapp.com/projects/13054-redcloth/tickets/243-xss"},{"name":"20141211 RedCloth contains unfixed XSS vulnerability for 9 years","tags":["mailing-list","x_refsource_FULLDISC","x_transferred"],"url":"http://seclists.org/fulldisclosure/2014/Dec/50"},{"tags":["x_refsource_MISC","x_transferred"],"url":"https://gist.github.com/co3k/75b3cb416c342aa1414c"},{"name":"DSA-3168","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"],"url":"http://www.debian.org/security/2015/dsa-3168"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2012-12-29T00:00:00.000Z","descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2015-03-16T16:57:00.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"tags":["x_refsource_MISC"],"url":"http://co3k.org/blog/redcloth-unfixed-xss-en"},{"tags":["x_refsource_MISC"],"url":"http://jgarber.lighthouseapp.com/projects/13054-redcloth/tickets/243-xss"},{"name":"20141211 RedCloth contains unfixed XSS vulnerability for 9 years","tags":["mailing-list","x_refsource_FULLDISC"],"url":"http://seclists.org/fulldisclosure/2014/Dec/50"},{"tags":["x_refsource_MISC"],"url":"https://gist.github.com/co3k/75b3cb416c342aa1414c"},{"name":"DSA-3168","tags":["vendor-advisory","x_refsource_DEBIAN"],"url":"http://www.debian.org/security/2015/dsa-3168"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2012-6684","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"http://co3k.org/blog/redcloth-unfixed-xss-en","refsource":"MISC","url":"http://co3k.org/blog/redcloth-unfixed-xss-en"},{"name":"http://jgarber.lighthouseapp.com/projects/13054-redcloth/tickets/243-xss","refsource":"MISC","url":"http://jgarber.lighthouseapp.com/projects/13054-redcloth/tickets/243-xss"},{"name":"20141211 RedCloth contains unfixed XSS vulnerability for 9 years","refsource":"FULLDISC","url":"http://seclists.org/fulldisclosure/2014/Dec/50"},{"name":"https://gist.github.com/co3k/75b3cb416c342aa1414c","refsource":"MISC","url":"https://gist.github.com/co3k/75b3cb416c342aa1414c"},{"name":"DSA-3168","refsource":"DEBIAN","url":"http://www.debian.org/security/2015/dsa-3168"}]}}}},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2012-6684","datePublished":"2015-01-08T01:00:00.000Z","dateReserved":"2015-01-05T00:00:00.000Z","dateUpdated":"2024-08-06T21:36:01.907Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2015-01-08 01:59:01","lastModifiedDate":"2026-05-06 22:30:45","problem_types":["CWE-79","n/a"],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:N/I:P/A:N","baseScore":4.3,"accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"NONE"},"baseSeverity":"MEDIUM","exploitabilityScore":8.6,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":true}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:redcloth:redcloth_library:*:*:*:*:*:ruby:*:*","versionEndIncluding":"4.2.9","matchCriteriaId":"5E532043-21C2-4E79-96CF-78EC0A0B9216"}]}]},{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*","matchCriteriaId":"16F59A04-14CF-49E2-9973-645477EA09DA"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2012","CveId":"6684","Ordinal":"1","Title":"CVE-2012-6684","CVE":"CVE-2012-6684","Year":"2012"},"notes":[{"CveYear":"2012","CveId":"6684","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"CVE-2012-6684"},{"CveYear":"2012","CveId":"6684","Ordinal":"2","NoteData":"2015-01-07","Type":"Other","Title":"Published"},{"CveYear":"2012","CveId":"6684","Ordinal":"3","NoteData":"2015-03-16","Type":"Other","Title":"Modified"}]}}}