CVE-2012-6684
Status: ModifiedMedium (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.
CVSS
- Version: 2.0
- Vector: AV:N/AC:M/Au:N/C:N/I:P/A:N
- Base score: 4.3
Exploitation probability (EPSS)
- Probability of exploitation in the next 30 days: 2.25%
- Percentile among all scored CVEs: 82
- Score date: 10/9/2026
EPSS (Exploit Prediction Scoring System, FIRST) estimates how likely a vulnerability is to be exploited in the wild within 30 days. It complements CVSS (impact) and CISA KEV (confirmed exploitation).
Affected technologies (2)
CWEs
- CWE-79
References
- http://co3k.org/blog/redcloth-unfixed-xss-en
- http://jgarber.lighthouseapp.com/projects/13054-redcloth/tickets/243-xss
- http://seclists.org/fulldisclosure/2014/Dec/50
- http://www.debian.org/security/2015/dsa-3168
- https://gist.github.com/co3k/75b3cb416c342aa1414c
- http://co3k.org/blog/redcloth-unfixed-xss-en
- http://jgarber.lighthouseapp.com/projects/13054-redcloth/tickets/243-xss
- http://seclists.org/fulldisclosure/2014/Dec/50
- http://www.debian.org/security/2015/dsa-3168
- https://gist.github.com/co3k/75b3cb416c342aa1414c
Raw JSON (NVD)
Show
{
"id": "CVE-2012-6684",
"cveTags": [],
"metrics": {
"cvssMetricV2": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"cvssData": {
"version": "2.0",
"baseScore": 4.3,
"accessVector": "NETWORK",
"vectorString": "AV:N/AC:M/Au:N/C:N/I:P/A:N",
"authentication": "NONE",
"integrityImpact": "PARTIAL",
"accessComplexity": "MEDIUM",
"availabilityImpact": "NONE",
"confidentialityImpact": "NONE"
},
"acInsufInfo": false,
"impactScore": 2.9,
"baseSeverity": "MEDIUM",
"obtainAllPrivilege": false,
"exploitabilityScore": 8.6,
"obtainUserPrivilege": false,
"obtainOtherPrivilege": false,
"userInteractionRequired": true
}
]
},
"affected": [
{
"source": "cve@mitre.org",
"affectedData": [
{
"vendor": "n/a",
"product": "n/a",
"versions": [
{
"status": "affected",
"version": "n/a"
}
]
}
]
}
],
"published": "2015-01-08T01:59:01.267",
"references": [
{
"url": "http://co3k.org/blog/redcloth-unfixed-xss-en",
"tags": [
"Broken Link"
],
"source": "cve@mitre.org"
},
{
"url": "http://jgarber.lighthouseapp.com/projects/13054-redcloth/tickets/243-xss",
"tags": [
"Third Party Advisory"
],
"source": "cve@mitre.org"
},
{
"url": "http://seclists.org/fulldisclosure/2014/Dec/50",
"tags": [
"Exploit",
"Mailing List",
"Third Party Advisory"
],
"source": "cve@mitre.org"
},
{
"url": "http://www.debian.org/security/2015/dsa-3168",
"tags": [
"Third Party Advisory"
],
"source": "cve@mitre.org"
},
{
"url": "https://gist.github.com/co3k/75b3cb416c342aa1414c",
"tags": [
"Issue Tracking",
"Patch"
],
"source": "cve@mitre.org"
},
{
"url": "http://co3k.org/blog/redcloth-unfixed-xss-en",
"tags": [
"Broken Link"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://jgarber.lighthouseapp.com/projects/13054-redcloth/tickets/243-xss",
"tags": [
"Third Party Advisory"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://seclists.org/fulldisclosure/2014/Dec/50",
"tags": [
"Exploit",
"Mailing List",
"Third Party Advisory"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.debian.org/security/2015/dsa-3168",
"tags": [
"Third Party Advisory"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://gist.github.com/co3k/75b3cb416c342aa1414c",
"tags": [
"Issue Tracking",
"Patch"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
}
],
"vulnStatus": "Modified",
"weaknesses": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"description": [
{
"lang": "en",
"value": "CWE-79"
}
]
}
],
"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."
},
{
"lang": "es",
"value": "Vulnerabilidad de XSS en la libraría RedCloth 4.2.9 para Ruby y anteriores permite a atacantes remotos inyectar secuencias de comandos web o HTML arbitrarios a través de una URI javascript."
}
],
"lastModified": "2026-06-16T23:48:35.940",
"configurations": [
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:redcloth:redcloth_library:*:*:*:*:*:ruby:*:*",
"vulnerable": true,
"matchCriteriaId": "5E532043-21C2-4E79-96CF-78EC0A0B9216",
"versionEndIncluding": "4.2.9"
}
],
"operator": "OR"
}
]
},
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "16F59A04-14CF-49E2-9973-645477EA09DA"
}
],
"operator": "OR"
}
]
}
],
"sourceIdentifier": "cve@mitre.org"
}