{
    "CVE_data_meta": {
        "ASSIGNER": "secalert@redhat.com",
        "ID": "CVE-2013-1857",
        "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": "The sanitize helper in lib/action_controller/vendor/html-scanner/html/sanitizer.rb in the Action Pack component in Ruby on Rails before 2.3.18, 3.0.x and 3.1.x before 3.1.12, and 3.2.x before 3.2.13 does not properly handle encoded : (colon) characters in URLs, which makes it easier for remote attackers to conduct cross-site scripting (XSS) attacks via a crafted scheme name, as demonstrated by including a &#x3a; sequence."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "n/a"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "APPLE-SA-2013-10-22-5",
                "refsource": "APPLE",
                "url": "http://lists.apple.com/archives/security-announce/2013/Oct/msg00006.html"
            },
            {
                "name": "openSUSE-SU-2014:0019",
                "refsource": "SUSE",
                "url": "http://lists.opensuse.org/opensuse-updates/2014-01/msg00013.html"
            },
            {
                "name": "openSUSE-SU-2013:0662",
                "refsource": "SUSE",
                "url": "http://lists.opensuse.org/opensuse-updates/2013-04/msg00073.html"
            },
            {
                "name": "http://support.apple.com/kb/HT5784",
                "refsource": "CONFIRM",
                "url": "http://support.apple.com/kb/HT5784"
            },
            {
                "name": "RHSA-2013:0698",
                "refsource": "REDHAT",
                "url": "http://rhn.redhat.com/errata/RHSA-2013-0698.html"
            },
            {
                "name": "APPLE-SA-2013-06-04-1",
                "refsource": "APPLE",
                "url": "http://lists.apple.com/archives/security-announce/2013/Jun/msg00000.html"
            },
            {
                "name": "openSUSE-SU-2013:0661",
                "refsource": "SUSE",
                "url": "http://lists.opensuse.org/opensuse-updates/2013-04/msg00072.html"
            },
            {
                "name": "[rubyonrails-security] 20130318 [CVE-2013-1857] XSS Vulnerability in the `sanitize` helper of Ruby on Rails",
                "refsource": "MLIST",
                "url": "https://groups.google.com/group/rubyonrails-security/msg/78b9817a5943f6d6?dmode=source&output=gplain"
            },
            {
                "name": "RHSA-2014:1863",
                "refsource": "REDHAT",
                "url": "http://rhn.redhat.com/errata/RHSA-2014-1863.html"
            },
            {
                "name": "http://weblog.rubyonrails.org/2013/3/18/SEC-ANN-Rails-3-2-13-3-1-12-and-2-3-18-have-been-released/",
                "refsource": "CONFIRM",
                "url": "http://weblog.rubyonrails.org/2013/3/18/SEC-ANN-Rails-3-2-13-3-1-12-and-2-3-18-have-been-released/"
            }
        ]
    }
}