{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2011-0446","id":"CVE-2011-0446","title":"Rails actionpack gem vulnerable to Cross-site Scripting","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.","descriptionLong":"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.","published":"2011-02-14T20:00:00.000Z","updated":"2026-06-16T23:27:24.143Z","reserved":"2011-01-13T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","rating":"medium","source":"NVD"},"metrics":[{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","rating":"medium","source":"NVD"}],"rating":"medium","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"RubyGems","name":"actionpack","purl":"pkg:gem/actionpack","ranges":["<2.3.11",">=3.0.0 <3.0.4"],"fixed":["2.3.11","3.0.4"],"advisory":"GHSA-75w6-p6mg-vh8j"},{"ecosystem":"RubyGems","name":"actionview","purl":"pkg:gem/actionview","ranges":["<2.3.11",">=3.0.0 <3.0.4"],"fixed":["2.3.11","3.0.4"],"advisory":"GHSA-75w6-p6mg-vh8j"}],"cwes":["CWE-79"],"aliases":["GHSA-75w6-p6mg-vh8j"],"references":[{"url":"http://www.vupen.com/english/advisories/2011/0587","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","advisory"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2011-March/055088.html","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"http://www.securityfocus.com/bid/46291","tags":["vdb-entry","x_refsource_BID","x_transferred","web"]},{"url":"http://www.debian.org/security/2011/dsa-2247","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","advisory","web"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2011-April/057650.html","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"http://secunia.com/advisories/43274","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://www.securitytracker.com/id?1025064","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred","web"]},{"url":"http://groups.google.com/group/rubyonrails-security/msg/365b8a23b76a6b4a?dmode=source&output=gplain","tags":["mailing-list","x_refsource_MLIST","x_transferred","Patch","fix","web"]},{"url":"http://www.vupen.com/english/advisories/2011/0877","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","advisory"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2011-March/055074.html","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"http://secunia.com/advisories/43666","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2011-0446","tags":["advisory"]},{"url":"https://github.com/rails/rails/commit/abe97736b8316f1b714cac56c115c0779aa73217","tags":["web"]},{"url":"https://github.com/rails/rails/commit/e3dd2107c57a8efaaea5d61cf8da65f7444760b2","tags":["web"]},{"url":"https://github.com/rails/rails","tags":["package"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2011-0446.yml","tags":["web"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionview/CVE-2011-0446.yml","tags":["web"]},{"url":"https://groups.google.com/g/rubyonrails-security/c/8CpI7egxX4E/m/SmtqtyOKWzYJ","tags":["web"]},{"url":"https://web.archive.org/web/20111225083933/http://secunia.com/advisories/43274","tags":["web"]},{"url":"https://web.archive.org/web/20111225083933/http://secunia.com/advisories/43666","tags":["web"]},{"url":"https://web.archive.org/web/20120527023027/http://www.securityfocus.com/bid/46291","tags":["web"]},{"url":"https://web.archive.org/web/20200812054342/http://www.securitytracker.com/id?1025064","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.0235,"epssPercentile":0.84024,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2011-0446","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2011-0446","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2011-0446","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-75w6-p6mg-vh8j","ok":true,"note":"GHSA-75w6-p6mg-vh8j"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2011-0446","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}