GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

GSD-2011-0446

Vulnerability from gsd - Updated: 2023-12-13 01:19
Details
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.
Aliases
Aliases

{
  "GSD": {
    "alias": "CVE-2011-0446",
    "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.",
    "id": "GSD-2011-0446",
    "references": [
      "https://www.suse.com/security/cve/CVE-2011-0446.html",
      "https://www.debian.org/security/2011/dsa-2247"
    ]
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "aliases": [
        "CVE-2011-0446"
      ],
      "details": "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.",
      "id": "GSD-2011-0446",
      "modified": "2023-12-13T01:19:03.933838Z",
      "schema_version": "1.4.0"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "cve@mitre.org",
        "ID": "CVE-2011-0446",
        "STATE": "PUBLIC"
      },
      "affects": {
        "vendor": {
          "vendor_data": [
            {
              "product": {
                "product_data": [
                  {
                    "product_name": "n/a",
                    "version": {
                      "version_data": [
                        {
                          "version_value": "n/a"
                        }
                      ]
                    }
                  }
                ]
              },
              "vendor_name": "n/a"
            }
          ]
        }
      },
      "data_format": "MITRE",
      "data_type": "CVE",
      "data_version": "4.0",
      "description": {
        "description_data": [
          {
            "lang": "eng",
            "value": "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."
          }
        ]
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "lang": "eng",
                "value": "n/a"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "ADV-2011-0587",
            "refsource": "VUPEN",
            "url": "http://www.vupen.com/english/advisories/2011/0587"
          },
          {
            "name": "FEDORA-2011-2138",
            "refsource": "FEDORA",
            "url": "http://lists.fedoraproject.org/pipermail/package-announce/2011-March/055088.html"
          },
          {
            "name": "46291",
            "refsource": "BID",
            "url": "http://www.securityfocus.com/bid/46291"
          },
          {
            "name": "DSA-2247",
            "refsource": "DEBIAN",
            "url": "http://www.debian.org/security/2011/dsa-2247"
          },
          {
            "name": "FEDORA-2011-4358",
            "refsource": "FEDORA",
            "url": "http://lists.fedoraproject.org/pipermail/package-announce/2011-April/057650.html"
          },
          {
            "name": "43274",
            "refsource": "SECUNIA",
            "url": "http://secunia.com/advisories/43274"
          },
          {
            "name": "1025064",
            "refsource": "SECTRACK",
            "url": "http://www.securitytracker.com/id?1025064"
          },
          {
            "name": "[rubyonrails-security] 20110209 Potential XSS Problem with mail_to :encode =\u003e :javascript",
            "refsource": "MLIST",
            "url": "http://groups.google.com/group/rubyonrails-security/msg/365b8a23b76a6b4a?dmode=source\u0026output=gplain"
          },
          {
            "name": "ADV-2011-0877",
            "refsource": "VUPEN",
            "url": "http://www.vupen.com/english/advisories/2011/0877"
          },
          {
            "name": "FEDORA-2011-2133",
            "refsource": "FEDORA",
            "url": "http://lists.fedoraproject.org/pipermail/package-announce/2011-March/055074.html"
          },
          {
            "name": "43666",
            "refsource": "SECUNIA",
            "url": "http://secunia.com/advisories/43666"
          }
        ]
      }
    },
    "gitlab.com": {
      "advisories": [
        {
          "affected_range": "\u003c2.3.11||\u003e=3.0.0 \u003c3.0.4",
          "affected_versions": "All versions before 2.3.11, all versions starting from 3.0.0 before 3.0.4",
          "cvss_v2": "AV:N/AC:M/Au:N/C:N/I:P/A:N",
          "cwe_ids": [
            "CWE-1035",
            "CWE-707",
            "CWE-79",
            "CWE-937"
          ],
          "date": "2023-05-26",
          "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.",
          "fixed_versions": [
            "2.3.11",
            "3.0.4"
          ],
          "identifier": "CVE-2011-0446",
          "identifiers": [
            "GHSA-75w6-p6mg-vh8j",
            "CVE-2011-0446"
          ],
          "not_impacted": "All versions starting from 2.3.11 before 3.0.0, all versions starting from 3.0.4",
          "package_slug": "gem/actionpack",
          "pubdate": "2017-10-24",
          "solution": "Upgrade to versions 2.3.11, 3.0.4 or above.",
          "title": "Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2011-0446",
            "http://groups.google.com/group/rubyonrails-security/msg/365b8a23b76a6b4a?dmode=source\u0026output=gplain",
            "http://lists.fedoraproject.org/pipermail/package-announce/2011-April/057650.html",
            "http://lists.fedoraproject.org/pipermail/package-announce/2011-March/055074.html",
            "http://lists.fedoraproject.org/pipermail/package-announce/2011-March/055088.html",
            "http://www.debian.org/security/2011/dsa-2247",
            "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionview/CVE-2011-0446.yml",
            "https://groups.google.com/g/rubyonrails-security/c/8CpI7egxX4E/m/SmtqtyOKWzYJ",
            "https://web.archive.org/web/20120527023027/http://www.securityfocus.com/bid/46291",
            "https://web.archive.org/web/20200812054342/http://www.securitytracker.com/id?1025064",
            "https://github.com/rails/rails/commit/abe97736b8316f1b714cac56c115c0779aa73217",
            "https://github.com/rails/rails/commit/e3dd2107c57a8efaaea5d61cf8da65f7444760b2",
            "https://web.archive.org/web/20111225083933/http://secunia.com/advisories/43274",
            "https://web.archive.org/web/20111225083933/http://secunia.com/advisories/43666",
            "https://github.com/advisories/GHSA-75w6-p6mg-vh8j"
          ],
          "uuid": "40855513-bdb8-41ee-8323-9fc8a66d8c5b"
        },
        {
          "affected_range": "\u003c2.3.11||\u003e=3.0.0 \u003c3.0.4",
          "affected_versions": "All versions before 2.3.11, all versions starting from 3.0.0 before 3.0.4",
          "cvss_v2": "AV:N/AC:M/Au:N/C:N/I:P/A:N",
          "cwe_ids": [
            "CWE-1035",
            "CWE-707",
            "CWE-79",
            "CWE-937"
          ],
          "date": "2023-06-12",
          "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.",
          "fixed_versions": [
            "2.3.11",
            "3.0.4"
          ],
          "identifier": "CVE-2011-0446",
          "identifiers": [
            "GHSA-75w6-p6mg-vh8j",
            "CVE-2011-0446"
          ],
          "not_impacted": "All versions starting from 2.3.11 before 3.0.0, all versions starting from 3.0.4",
          "package_slug": "gem/actionview",
          "pubdate": "2017-10-24",
          "solution": "Upgrade to versions 2.3.11, 3.0.4 or above.",
          "title": "Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2011-0446",
            "http://groups.google.com/group/rubyonrails-security/msg/365b8a23b76a6b4a?dmode=source\u0026output=gplain",
            "http://lists.fedoraproject.org/pipermail/package-announce/2011-April/057650.html",
            "http://lists.fedoraproject.org/pipermail/package-announce/2011-March/055074.html",
            "http://lists.fedoraproject.org/pipermail/package-announce/2011-March/055088.html",
            "http://www.debian.org/security/2011/dsa-2247",
            "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionview/CVE-2011-0446.yml",
            "https://groups.google.com/g/rubyonrails-security/c/8CpI7egxX4E/m/SmtqtyOKWzYJ",
            "https://web.archive.org/web/20120527023027/http://www.securityfocus.com/bid/46291",
            "https://web.archive.org/web/20200812054342/http://www.securitytracker.com/id?1025064",
            "https://github.com/rails/rails/commit/abe97736b8316f1b714cac56c115c0779aa73217",
            "https://github.com/rails/rails/commit/e3dd2107c57a8efaaea5d61cf8da65f7444760b2",
            "https://web.archive.org/web/20111225083933/http://secunia.com/advisories/43274",
            "https://web.archive.org/web/20111225083933/http://secunia.com/advisories/43666",
            "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2011-0446.yml",
            "https://github.com/advisories/GHSA-75w6-p6mg-vh8j"
          ],
          "uuid": "a0742fbb-ca87-4ce7-bba3-995f59f15d6e"
        },
        {
          "affected_range": "\u003c2.3.11||\u003e=3.0.0 \u003c3.0.4",
          "affected_versions": "All versions before 2.3.11, all versions starting from 3.0.0 before 3.0.4",
          "cvss_v2": "AV:N/AC:M/Au:N/C:N/I:P/A:N",
          "cwe_ids": [
            "CWE-1035",
            "CWE-707",
            "CWE-79",
            "CWE-937"
          ],
          "date": "2021-09-02",
          "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.",
          "fixed_versions": [
            "2.3.11",
            "3.0.4"
          ],
          "identifier": "CVE-2011-0446",
          "identifiers": [
            "GHSA-75w6-p6mg-vh8j",
            "CVE-2011-0446"
          ],
          "not_impacted": "All versions starting from 2.3.11 before 3.0.0, all versions starting from 3.0.4",
          "package_slug": "gem/rails",
          "pubdate": "2017-10-24",
          "solution": "Upgrade to versions 2.3.11, 3.0.4 or above.",
          "title": "Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2011-0446",
            "https://github.com/advisories/GHSA-75w6-p6mg-vh8j",
            "http://groups.google.com/group/rubyonrails-security/msg/365b8a23b76a6b4a?dmode=source\u0026output=gplain",
            "http://lists.fedoraproject.org/pipermail/package-announce/2011-April/057650.html",
            "http://lists.fedoraproject.org/pipermail/package-announce/2011-March/055074.html",
            "http://lists.fedoraproject.org/pipermail/package-announce/2011-March/055088.html",
            "http://secunia.com/advisories/43274",
            "http://secunia.com/advisories/43666",
            "http://www.debian.org/security/2011/dsa-2247",
            "http://www.securityfocus.com/bid/46291",
            "http://www.securitytracker.com/id?1025064",
            "http://www.vupen.com/english/advisories/2011/0587",
            "http://www.vupen.com/english/advisories/2011/0877"
          ],
          "uuid": "fd7d513f-4786-4084-a9f2-1e1f18edecd2"
        }
      ]
    },
    "nvd.nist.gov": {
      "configurations": {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:a:rubyonrails:rails:2.3.10:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:rubyonrails:rails:2.2.1:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:rubyonrails:rails:2.0.0:rc2:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:rubyonrails:rails:2.0.0:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:rubyonrails:rails:2.3.4:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:rubyonrails:rails:3.0.0:beta:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:rubyonrails:rails:3.0.1:pre:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:rubyonrails:rails:3.0.2:pre:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:rubyonrails:rails:2.1.1:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:rubyonrails:rails:2.1.2:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:rubyonrails:rails:2.1.0:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:rubyonrails:rails:2.0.2:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:rubyonrails:rails:3.0.0:beta3:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:rubyonrails:rails:3.0.0:beta4:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:rubyonrails:rails:3.0.0:rc:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:rubyonrails:rails:3.0.0:rc2:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:rubyonrails:rails:2.0.0:rc1:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:rubyonrails:rails:2.3.3:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:rubyonrails:rails:2.3.2:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:rubyonrails:rails:2.3.9:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:rubyonrails:rails:3.0.3:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:rubyonrails:rails:3.0.4:rc1:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:rubyonrails:rails:2.2.2:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:rubyonrails:rails:2.2.0:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:rubyonrails:rails:2.0.4:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:rubyonrails:rails:2.0.1:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:rubyonrails:rails:3.0.0:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:rubyonrails:rails:3.0.0:beta2:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:rubyonrails:rails:3.0.1:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:rubyonrails:rails:3.0.2:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              }
            ],
            "operator": "OR"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "cve@mitre.org",
          "ID": "CVE-2011-0446"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "en",
              "value": "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."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "CWE-79"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "[rubyonrails-security] 20110209 Potential XSS Problem with mail_to :encode =\u003e :javascript",
              "refsource": "MLIST",
              "tags": [
                "Patch"
              ],
              "url": "http://groups.google.com/group/rubyonrails-security/msg/365b8a23b76a6b4a?dmode=source\u0026output=gplain"
            },
            {
              "name": "43274",
              "refsource": "SECUNIA",
              "tags": [],
              "url": "http://secunia.com/advisories/43274"
            },
            {
              "name": "1025064",
              "refsource": "SECTRACK",
              "tags": [],
              "url": "http://www.securitytracker.com/id?1025064"
            },
            {
              "name": "46291",
              "refsource": "BID",
              "tags": [],
              "url": "http://www.securityfocus.com/bid/46291"
            },
            {
              "name": "43666",
              "refsource": "SECUNIA",
              "tags": [],
              "url": "http://secunia.com/advisories/43666"
            },
            {
              "name": "FEDORA-2011-2138",
              "refsource": "FEDORA",
              "tags": [],
              "url": "http://lists.fedoraproject.org/pipermail/package-announce/2011-March/055088.html"
            },
            {
              "name": "ADV-2011-0587",
              "refsource": "VUPEN",
              "tags": [],
              "url": "http://www.vupen.com/english/advisories/2011/0587"
            },
            {
              "name": "FEDORA-2011-2133",
              "refsource": "FEDORA",
              "tags": [],
              "url": "http://lists.fedoraproject.org/pipermail/package-announce/2011-March/055074.html"
            },
            {
              "name": "ADV-2011-0877",
              "refsource": "VUPEN",
              "tags": [],
              "url": "http://www.vupen.com/english/advisories/2011/0877"
            },
            {
              "name": "FEDORA-2011-4358",
              "refsource": "FEDORA",
              "tags": [],
              "url": "http://lists.fedoraproject.org/pipermail/package-announce/2011-April/057650.html"
            },
            {
              "name": "DSA-2247",
              "refsource": "DEBIAN",
              "tags": [],
              "url": "http://www.debian.org/security/2011/dsa-2247"
            }
          ]
        }
      },
      "impact": {
        "baseMetricV2": {
          "cvssV2": {
            "accessComplexity": "MEDIUM",
            "accessVector": "NETWORK",
            "authentication": "NONE",
            "availabilityImpact": "NONE",
            "baseScore": 4.3,
            "confidentialityImpact": "NONE",
            "integrityImpact": "PARTIAL",
            "vectorString": "AV:N/AC:M/Au:N/C:N/I:P/A:N",
            "version": "2.0"
          },
          "exploitabilityScore": 8.6,
          "impactScore": 2.9,
          "obtainAllPrivilege": false,
          "obtainOtherPrivilege": false,
          "obtainUserPrivilege": false,
          "severity": "MEDIUM",
          "userInteractionRequired": true
        }
      },
      "lastModifiedDate": "2019-08-08T15:41Z",
      "publishedDate": "2011-02-14T21:00Z"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…