{
    "CVE_data_meta": {
        "ASSIGNER": "secalert@redhat.com",
        "ID": "CVE-2015-1840",
        "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": "jquery_ujs.js in jquery-rails before 3.1.3 and 4.x before 4.0.4 and rails.js in jquery-ujs before 1.0.4, as used with Ruby on Rails 3.x and 4.x, allow remote attackers to bypass the Same Origin Policy, and trigger transmission of a CSRF token to a different-domain web server, via a leading space character in a URL within an attribute value."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "n/a"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "FEDORA-2015-10144",
                "refsource": "FEDORA",
                "url": "http://lists.fedoraproject.org/pipermail/package-announce/2015-June/161043.html"
            },
            {
                "name": "openSUSE-SU-2015:1260",
                "refsource": "SUSE",
                "url": "http://lists.opensuse.org/opensuse-updates/2015-07/msg00041.html"
            },
            {
                "name": "[oss-security] 20150616 [CVE-2015-1840] CSRF Vulnerability in jquery-ujs and jquery-rails",
                "refsource": "MLIST",
                "url": "http://openwall.com/lists/oss-security/2015/06/16/15"
            },
            {
                "name": "FEDORA-2015-10258",
                "refsource": "FEDORA",
                "url": "http://lists.fedoraproject.org/pipermail/package-announce/2015-June/160906.html"
            },
            {
                "name": "[rubyonrails-security] 20150616 [CVE-2015-1840] CSRF Vulnerability in jquery-ujs and jquery-rails",
                "refsource": "MLIST",
                "url": "https://groups.google.com/forum/message/raw?msg=rubyonrails-security/XIZPbobuwaY/fqnzzpuOlA4J"
            },
            {
                "name": "75239",
                "refsource": "BID",
                "url": "http://www.securityfocus.com/bid/75239"
            },
            {
                "name": "https://github.com/rails/jquery-ujs/blob/master/CHANGELOG.md",
                "refsource": "CONFIRM",
                "url": "https://github.com/rails/jquery-ujs/blob/master/CHANGELOG.md"
            },
            {
                "name": "https://github.com/rails/jquery-rails/blob/master/CHANGELOG.md",
                "refsource": "CONFIRM",
                "url": "https://github.com/rails/jquery-rails/blob/master/CHANGELOG.md"
            }
        ]
    }
}