---
title: "CVE-2011-0446\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2011-0446?format=md
keywords: index, follow
---

# CVE-2011-0446

Publication date 14 February 2011

Last updated 24 July 2024

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

Toggle side navigation

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

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| rails | 11.04 natty | Fixed 2.3.5-1.2ubuntu1.1 |
| 10.10 maverick | Fixed 2.3.5-1.1ubuntu0.1 |
| 10.04 LTS lucid | Fixed 2.2.3-2ubuntu0.1 |
| 9.10 karmic | Ignored end of life |
| 8.04 LTS hardy | Ignored end of life |
| 6.06 LTS dapper | Ignored end of life |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)
* [Patch details](https://ubuntu.com/security/CVE-2011-0446?format=md#patch-details)

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| rails | * Upstream:   [abe9773](https://github.com/rails/rails/commit/abe97736b8316f1b714cac56c115c0779aa73217) |

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-0446)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2011-0446)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2011-0446)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2011-0446)

### Other references

* <http://groups.google.com/group/rubyonrails-security/msg/365b8a23b76a6b4a>
* <https://www.cve.org/CVERecord?id=CVE-2011-0446>
